I have added some php code to certain htm and html files on my server, and I don't want to change their extension to php. So I added this code to my .htaccess:
AddType application/x-httpd-php .html .htm
AddHandler application/x-httpd-php .html
AddHandler application/x-httpd-php .htm
To test this, I uploaded www.mauitradewinds.com/test.htm
, containing this code:
echo "PHP is working.";
...but when I load that page, it is blank. Please advise.