Home › Forums › Partner and Community Forums › PHP Community › IIS 6 to read php in html files
Previous Next
Last post 07-03-2008 4:20 PM by tomkmvp. 4 replies.
Average Rating Rate It (5)Thank you for the rating!
Page 1 of 1 (5 items)
Sort Posts: Oldest to newest Newest to oldest
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.
Having "some PHP code in a HTML file" makes it a PHP file by definition. Change the extension to php.
Jeff
... or map .htm to the PHP handler.
Hi Tomkmvp,
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.
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/4c840252-fab7-427e-a197-7facb6649106.mspx?mfr=true
Map it to your php5isapi.dll ...