Change to PHP include?
Posted by: Hope
Posted on: 2009-08-30 18:15:00
When I tried to access my site earlier, my browser asked if I wanted to download the page (tried it in both IE and FF). In the .htaccess file I disabled this line:
AddType application/x-httpd-php .php .html
Once I did that, it allowed me to view the page but the php include file is not showing.
This is the line I've been using for the includes:
<?php include("/home/user/mydomain.com/inc/header.htm");
It has worked up until now and is still working on several other sites I have on the same DH server. I don't understand why it would work on one site and not on another.
Can anyone tell me either what I've done wrong or what has changed recently?
Thanks,
Hope