Parsing .html as PHP
I have tried adding to the .htaccess :
AddHandler x-httpd-php .html .htm
and
AddHandler application/x-httpd-php .html .htm
and
AddType application/x-httpd-php .html .htm
The last one actually causes the browser to want me to open it with an application so I know that the .htaccess is being read.
I have also tried adding via the cpanel apache handler.
But it is not parsing it as .php.
So, for example if I use the code:
<?='hello'?>
It is showing as that in the source code.
Any help?
Thanks,
Ben Shaffer
.
Steal Amazon, Kindle and Buying Keywords In Seconds!
Steal Amazon, Kindle and Buying Keywords In Seconds!
Steal Amazon, Kindle and Buying Keywords In Seconds!
With regards,
Sundar
https://www.phptechie.com
https://www.wpdeveloper.com
-- Lisa G
-- Lisa G