Re: html and php in the same document
| From: | Miles Thompson | Date: | Thu, 24 Jul 2003 16:17:05 +0000 |
| Subject: | Re: html and php in the same document | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-156678@lists.php.net to get a copy of this message | ||
At 04:09 PM 7/24/2003 +0000, Curt Zirzow wrote:
* Thus wrote Curt Zirzow (curt@zirzow.dyndns.org): * Thus wrote Bill Pilgrim (billpilgrim2000@yahoo.com):And every .html page is parsed by PHP. He will still have to turn PHP on and off within the page. Unless he *really* wants to hide usage of PHP, I don't see the point of doing this. Miles Thompson PS Curt - Like the sig<g>.If php and html are to be included in the same document, does thedocument 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."