CentrioHost 24/7 Live Support

 

How can I execute php code as .htm or .html files?

In your .htaccess file insert this line of code:

AddType application/x-httpd-php .html .htm .php
AddHandler application/x-httpd-php .html .htm .php

Add to Favourites  Add to Favourites    Print this Article  Print this Article

Was this answer helpful?


Hosting Partners
Wildcard SSL Certificates