Scott De Leeuw wrote:

Here are the system specifics..
Windows 2000 server SP3
PHP 4.30
IIS 4 I believe, whatever comes with W2k Server

I've installed PHP and set it up as per the instructions... Any
file with a .php or .phtml extension works, however when I embed
PHP code in to an HTML it either gives a blank page or simply
prints all the text... I am using the standard "<?php" tag... I
have been messing around with this for a week now and am at a
loss... any ideas?
Its probably that you have not asked IIS to send ".html" files to the php parser. I expect it would not do so normally because of the extra processing overhead in parsing for php when there would not normally be php code in them.

Either alter your IIS setup (I use Apache so I can't give specific instructions), or give the ".html" files you want parsed by php the ".php" extension.

Hope this h elps

Chris



--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to