Partner and Community Forums
IIS 6 to read php in html files
Last post Jul 03, 2008 04:20 PM by tomkmvp
Jul 02, 2008 07:10 PM|dnhm|LINK
Hello, I was wondering if anyone has setup IIS to send .html .htm files to php to be read if you have some php code in the html file? Any help would be greatly appreciated.
Jul 03, 2008 08:52 AMfirstname.lastname@example.org|LINK
Having "some PHP code in a HTML file" makes it a PHP file by definition. Change the extension to php.
Jul 03, 2008 08:58 AM|tomkmvp|LINK
... or map .htm to the PHP handler.
Jul 03, 2008 10:29 AM|dnhm|LINK
Thanks for the reply, I would really like to try this mapping. Could you be a little more specfic how to do that?
I appreciate your help.
Jul 03, 2008 04:20 PM|tomkmvp|LINK
Map it to your php5isapi.dll ...