Thread: PHP Don't work
View Single Post
  #2 (permalink)  
Old 07-21-03, 07:06 AM
MagnuM MagnuM is offline
Newbie Coder
 
Join Date: Jul 2003
Location: Timisoara, Romania
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
It has nothing to do with your system.

I supose your problem is the way you are calling the PHP files. They have to be served by a web server (Apache), and the path from the browser should look like http://localhost/yourfile.php.

This is why you see the other PHP pages from some web sites working, because they run a web server that is parsing the PHP files.

In your case the browser is just return you the PHP file without compile it, thats why you get a download message.
__________________
The more people i know, the more i love my dog.
Reply With Quote