Enable php scripts in html

For Godaddy hosting, include the following line in .htaccess file.

AddHandler x-httpd-php5 .html
This tells the server to treat all files with extension .html as PHP5 files. So now, you can add any php code to your html pages.

Posted bySeshu Karthick at 1:28 PM  

0 comments:

Post a Comment