Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can !
Moderator: General Moderators
rod_deacon
Forum Newbie
Posts: 1 Joined: Fri Jun 10, 2005 7:33 am
Post
by rod_deacon » Fri Jun 10, 2005 7:42 am
I am using PHP 5.0.3 and Apache 2. Some of the code, straightforward PHP works fine, but if I have php embedded in HTML all that I see is a blank browser or some times the code printed clear. Anyone any ideas.
malcolmboston
DevNet Resident
Posts: 1826 Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK
Post
by malcolmboston » Fri Jun 10, 2005 8:02 am
PHP is running otherwise it wouldnt print it out the code, it would bring up a save file dialog.
Also a blank page makes me think you have some syntax errors
Syranide
Forum Contributor
Posts: 281 Joined: Fri May 20, 2005 3:16 pm
Location: Sweden
Post
by Syranide » Fri Jun 10, 2005 8:12 am
PHP is NOT running if he can see the code (and no mistakes), the server could still have PHP defined as plain text.