Run PHP from a .html extension
I recently had an odd request, they wanted their site to appear as HTML but run PHP; my first thought was why? but, if thats what they want, thats what they get.
It turned out to be a very simple task. If you open up your .htaccess file and add the following line:
AddType application/x-httpd-php .html
.html will execute as PHP!
Job done.













apologies for the delays in my posts, i will be blogging alot more often from now on