Re: PHP within .html files

From: Date: Thu, 16 Aug 2001 21:00:36 +0000
Subject: Re: PHP within .html files
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-63102@lists.php.net to get a copy of this message
> It's not very usual for the simple reason that many people who have access > to a PHP web server don't use it, they just use normal HTML. The problem > with having HTML execute as PHP is that it uses the PHP module when it > mightn't need to. On my webserver the extensions which are parsed as PHP are > .php and .php3, I think this is the normal setup for web servers. > > Marc. > > P.s. Would u not like to show your support for PHP by displaying the .php > extension? Mayhaps with Apache it is possible to have the .html files in a subdirectory (for instance yourdomain.org/php/file.html to have the php mentioned) handled as PHP and the other dirs not. I agree that it is a waste of server time to send all html files through php. Chris -------------------------------------------------------------------- -- C.Hayes Droevendaal 35 6708 PB Wageningen the Netherlands -- --------------------------------------------------------------------

« previous php.general (#63102) next »