SSI, SHTML and PHP, INCLUDES...
| From: | Leo G. Divingracia III | Date: | Fri, 31 Jan 2003 04:20:21 +0000 |
| Subject: | SSI, SHTML and PHP, INCLUDES... | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-18261@lists.php.net to get a copy of this message | ||
have a slight problem.
need to include some template files that are javascript.
so i have setup my apache 1.3.x server to parse .SHTML files.
now, i need to add php to this.
so fine. all i thought i could do was add this to my apache conf file:
AddType application/x-httpd-php .php4 .php .htm .php3 .inc .html .shtml
but after that change, when i call that .shtml page with a bit of php code, it brings up the SAVE AS dialog box.
here's the part of apache's conf file to parse SSI files:
# To use server-parsed HTML files
#
AddType text/html .shtml
AddHandler server-parsed .shtml
so is there way to get around this? or am i stuck?
thanks...
--
Leo G. Divinagracia III
ldivinag@csuhayward.edu
zzzzz