HTML pages not rendering PHP, and Firefox wants to save them
Posted: Wed May 18, 2011 1:30 am
I recently shifted a site to a new webhost; everything was working fine previously, but now:
1) Whenever I try to access one of the html files in Firefox, a popup appears saying 'You have chosen to open (filename) which is a: Firefox Document'. A friend got the same result, so it's not just me.
2) The .htaccess file I uploaded to the root directory currently contains:
On all my other sites (different webhost), this works fine and parses the php code in html pages. It's not working on this host.
Any help would be great, thanks! I've tried searching around but haven't found any answers.
1) Whenever I try to access one of the html files in Firefox, a popup appears saying 'You have chosen to open (filename) which is a: Firefox Document'. A friend got the same result, so it's not just me.
2) The .htaccess file I uploaded to the root directory currently contains:
Code: Select all
RemoveHandler .html .htm
AddType application/x-httpd-php .php .htm .htmlAny help would be great, thanks! I've tried searching around but haven't found any answers.