This is a discussion on simple php script doesn't run on IIS within the PHP Language forums, part of the PHP Programming Forums category; I installes PHP binaries windows intaller for XP file name: php-4.3.4-Win32.zip I installed it and ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I installes PHP binaries windows intaller for XP
file name: php-4.3.4-Win32.zip I installed it and I have a home page running on the IIS. So why the file "a.htm" containing: ----------------------------------------------- <html> <head> <title>test php4</title> </head> <body> <?php print ("abcd"); ?> </body> </html> ---------------------------------------------- doesn't print "abcd" on the internet explorer ??? Pleas help |
|
|||
|
On Sun, 18 Jan 2004 16:22:01 +0200, "Asher Golan" <datamor@actcom.net.il>
wrote: >I installes PHP binaries windows intaller for XP >file name: php-4.3.4-Win32.zip >I installed it and I have a home page running >on the IIS. > >So why the file "a.htm" containing: >----------------------------------------------- ><html> ><head> ><title>test php4</title> ></head> ><body> ><?php >print ("abcd"); >?> ></body> ></html> >---------------------------------------------- >doesn't print "abcd" on the internet explorer ??? Don't multipost; you sent the exact same message to alt.comp.lang.php as well. PHP only gets interpreted on those files for which you've configured your webserver to interpret them. .htm typically won't get interpreted. .php is the usual extension for which the server is configured to run PHP. Try renaming the file to a.php. -- Andy Hassall <andy@andyh.co.uk> / Space: disk usage analysis tool <http://www.andyh.co.uk> / <http://www.andyhsoftware.co.uk/space> |