Page 1 of 1

I need help, php wont work..

PostPosted: 26. February 2008 21:18
by Blue-Wolf
I've just downloaded Xampp and it installed smoothly without errors.

The problem is that I did a simple PHP script and saved it in the httpdoc folder as test.php but when I open it, none of the PHP code shows, HTML does but not PHP. I tried some of the other PHP files in the /httpdoc/xampp folder and none of them work they all show the coding and varibles and dont function properly.. How can I get PHP functioning?

PostPosted: 27. February 2008 00:03
by Wiedmann
when I open it,

How did you do this exactly?

PostPosted: 27. February 2008 00:05
by Blue-Wolf
Since it didnt have a browser set with it, I right-clicked the test.php file then open as -> Internet explorer (didnt work) then Opera (Didnt work) then FireFox (didnt work)

PostPosted: 27. February 2008 00:11
by Wiedmann
I right-clicked the test.php file then open as

This does not work with PHP files. You must open PHP files in a webbrowser with "http://servename/filename.extension".

PostPosted: 27. February 2008 00:44
by Blue-Wolf
Ah! I've got it working!

Thank You so much! :D

I'll try stay active here :P...


and... you.. Posts: 12045... How on earth did you do that?! O-o thats.. alot.