PDA

View Full Version : PHP not Working



Kevinb
03-05-2008, 04:15 PM
I installed PHP 5.... and I test the scripts in the root directory and it runs fine (IE) Http://Localhost/ but when i put the script in my page it does not work? Http://Localhost/Web/Site/index.html.

I am running apache 2.2 server on Windows XP - my first try at PHP. Can anyone help?

city_coder
03-05-2008, 04:32 PM
We cant see your localhost web pages unfortunately. It only applies to you, hence the "local" part of localhost.
You need to put your real URL up. Or you can put your source code in as a post and we can see if we can help with that part.

thetestingsite
03-05-2008, 05:13 PM
Are you making sure that you have the .php extension on the file?

example: index.php not index.html

Hope this helps.