I have added AddType application/x-httpd-php .php .html .htm to my .htaccess file, but the HTML file is still not parsed as PHP Any idea what the problem could be? I am facing the problem on webhosts with FreeBSD as well as on Hostgator Thanks
They're probably using suPHP which means they are not apache modules so your code won't work. Try this Or if that is not working they may have named their php versions specific names so try these For PHP4: For PHP5: