AddType application/x-httpd-php .html
Or for .htm
AddType application/x-httpd-php .htm
If you only plan on including the PHP on one page, it is better to setup this way:
This code will only make the PHP executable on the yourpage.html file, and not on all of your html pages.
No comments:
Post a Comment