Welcome to aegis hosting

Our Support Portal puts you in control of your account with us. Manage your hosting packages, servers and domains. Keep track of support issues, orders and billing.

Support Portal

Using PHP in .html files

If you want to use .html or .htm files but still have it parsed by PHP then you'll need to add a line in your .htaccess file in the directory that the .html file resides in.

Here's the line to add...

AddHandler application/x-httpd-php5 .html .htm

 



Was this answer helpful?

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

Also Read
PHP Tutorials (Views: 237)
PHP v4 (Views: 595)
Error 403 - Forbidden (Views: 595)