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 

One comment

  1. very nice post, i certainly love this web site, carry on it
    バーバリー アウトレット

Leave a Reply

Your email address will not be published. Required fields are marked *

2 + two =