Please Login or Register

Knowledgebase

How Do I Parse HTML Pages As PHP?

You can tell apache to treat your .html pages as .php pages by adding the following line of code to your .htaccess file:

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

The above code will parse your .html pages using php5, if you would like to use php4 instead, please use the line of code below:

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

 



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Related Articles:
What Is My IP Address? (Views: 993)

Language:

Quick Navigation

Live Support

Client Login

Email

Password

Remember Me

Search


Date Format: MM/DD/YYYY
Current System Time: 10:27 AM