Click to See Complete Forum and Search --> : Problems making PHP pages appear


PinkStar
07-17-2003, 12:51 AM
Hi I downloaded some PHP scripts, for a new guestbook, the Purple Yin Guestbook here

http://php.resourceindex.com/Complete_Scripts/Guestbooks/

So I followed all the instructions and put them into my online server but I can't get any of the pages to show up. They just show the PHP code when I load the page.

I'm pretty new to PHP, are they supposed to show up or do you make an external html page and connect it the PHP script?

Also do you have to have the whole PHP program installed on your computer to be able to install them on your server if your server already supports PHP?

:confused:

Thank You :)

AdamGundry
07-17-2003, 02:34 AM
If the code is not executing when you load the page, that is because the server is not configured to parse files with that extension as PHP. Make sure the server has PHP running and you have used the correct extension on your files - it will usually be .php, but could also be .php3 or .phtml.

You do not need PHP installed on your computer if your server has it installed, but it can be handy to have a local copy for testing.

Adam

PinkStar
07-17-2003, 04:46 PM
Thanks Adam! That led me to find out why there not showing up, I was opening them up in an ftp address instead of a http one :p There is a word for that DUH! hehe. Sometimes the hard answer is hard because your to busy looking for the hard one when its the easy one. :D