Jump to content

PHP in HTML file on IIS


exploder

Recommended Posts

:-\Can PHP written in an .html file work on IIS ?  I have php5 running on windows 2003 server IIS.  PHP works fine with the files have the .php extention, but when I put php code inside of a .html file, the php code doesn't execute.  I don't know much about IIS so I'm not sure if this will work or not.  .htaccess files don't work with IIS so is there any other way to use php code inside of html files ?  thanks in advance.

Link to comment
https://forums.phpfreaks.com/topic/96588-php-in-html-file-on-iis/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.