Hello
I am trying this code
When I save it as htm and open in firefox I get
Hello world
The php code does not seem to work.
When I view source in the browser, it shows me the same source with the php code in red.
Apparently the server has not processed these instructions.
When i rename it as php and open in firefox I get a prompt..
'what do you want to open it with?
i specify httpd.exe it does nothing
i tried with php-win.exe same result.
I am running windows vista
I have edited hhtpd conf file and added load module and add type statements.
Can you help?
I am trying this code
Code:
<html> <head> <title> Testing HTML </title> </head> <body> <h1>Hello world</h1> <h1><?php echo "Hello php world"; ?></h1> </body> </html>
Hello world
The php code does not seem to work.
When I view source in the browser, it shows me the same source with the php code in red.
Apparently the server has not processed these instructions.
When i rename it as php and open in firefox I get a prompt..
'what do you want to open it with?
i specify httpd.exe it does nothing
i tried with php-win.exe same result.
I am running windows vista
I have edited hhtpd conf file and added load module and add type statements.
Can you help?
Comment