be parsed? I want to add a line of PHP code, as per standard format:
<?include file.php'; ?>
but when I try a few different configurations of the .htaccess file, all I get is a dialog box asking if I'd like to download, and when I do, it's the html file I am trying to access.
AddType application/x-httpd-php .htm
does just this, and nothing more.
I also wanted to limit this to only certain files, but when I try this, as suggested, I get a server error:
I just tried this:
AddType application/x-httpd-php5 .htm
and it SEEMS to work.
(No; the
AddType application/x-httpd-php5 .html
did the same thing, that is, opens a download dialog box!)
<?include file.php'; ?>
but when I try a few different configurations of the .htaccess file, all I get is a dialog box asking if I'd like to download, and when I do, it's the html file I am trying to access.
AddType application/x-httpd-php .htm
does just this, and nothing more.
I also wanted to limit this to only certain files, but when I try this, as suggested, I get a server error:
I just tried this:
AddType application/x-httpd-php5 .htm
and it SEEMS to work.
(No; the
AddType application/x-httpd-php5 .html
did the same thing, that is, opens a download dialog box!)