parse .html files as .php
Posted: 13. April 2009 19:25
I know there is a way to do this. Ive searched through 10 pages of search results and still can find it.
I have php code in a .html file and i just want .html files to be parsed as .php. Can someone please tell me where in the php.ini or in the httpd.conf file i need to set something.
I tried adding below to the .conf file but it didn't work.
AddType application/x-httpd-php .html
Thanks
morfie
I have php code in a .html file and i just want .html files to be parsed as .php. Can someone please tell me where in the php.ini or in the httpd.conf file i need to set something.
I tried adding below to the .conf file but it didn't work.
AddType application/x-httpd-php .html
Thanks
morfie