Re: Re: [PHP3] How to make PHP to handle PHP or PHP3 extensions ?

From: Date: Thu, 25 May 2000 12:16:15 +0000
Subject: Re: Re: [PHP3] How to make PHP to handle PHP or PHP3 extensions ?
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-533@lists.php.net to get a copy of this message
You can do this either in the httpd.conf file (there's already a line in there like this, just without all the file extensions) or in a .htaccess file: #(php4) AddType application/x-httpd-php html htm php3 phtml php or #(php3) AddType application/x-httpd-php3 html htm php3 phtml php This will cause all .html, .htm, .php, .php3, and .phtml (for compatibility all the way back to php2/fi) files to be parsed and executed by the php engine. -r3- ----- Original Message ----- From: James Lyon <james.lyon@aztec.co.uk> To: Durrani <durrani@comatindia.com>; PHP General List <php-general@lists.php.net> Sent: Thursday, May 25, 2000 8:04 AM Subject: Re: [PHP-GENERAL] Re: [PHP3] How to make PHP to handle PHP or PHP3 extensions ? > > (I don't want people knowing I use php so everything page I do is named with > > a .html extension) > > Is this for security or for some other reason? > > > ---------------------------------------------------------------------------- ---- > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#533) next »