Client Login

I want my HTML pages to be parsed by the PHP engine. How can I do it?

In order to parse HTML pages by the PHP engine, you need to add the following line in the .htaccess file.

=> Clients using PHP 4.x should add the following link in their .htaccess file

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

=> Clients using PHP 5.x should add the following link in their .htaccess file

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

The .htaccess file is usually placed under the 'public_html' directory of your account. If it is not there, you can create one.



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
What is phpsuexec? (Views: 3588)