Re: html and php in the same document
| From: | Curt Zirzow | Date: | Thu, 24 Jul 2003 16:09:59 +0000 |
| Subject: | Re: html and php in the same document | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-156676@lists.php.net to get a copy of this message | ||
* Thus wrote Curt Zirzow (curt@zirzow.dyndns.org):
> * Thus wrote Bill Pilgrim (billpilgrim2000@yahoo.com):
> > If php and html are to be included in the same document, does the document extension
> > always have to be .php ? Are there ways to include php into an html document without changing the
> > extension?
>
> Apache, IIS, Other?
>
> If apache:
>
> AddType application/x-httpd-php .php .html
> add this ----------------------------^^^^^
Btw, thats in your system http.conf, and if you have permissions to
do that.
Curt
--
"I used to think I was indecisive, but now I'm not so sure."