Re: A question about .php file extension

From: Date: Thu, 12 Sep 2002 14:32:27 +0000
Subject: Re: A question about .php file extension
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-116154@lists.php.net to get a copy of this message
make a .htaccess file like this <Files main> ForceType application/x-httpd-php </Files> <Files boards> ForceType application/x-httpd-php </Files> <Files read> ForceType application/x-httpd-php </Files> This makes the file main boards read php files What we do with it is make dynamic pages look like dirs for example sportnetwork.net/main/s85.php would just be sportnetwork.net/main.php?s=85 we use eregs to get the values out. Cheers John Wards ----- Original Message ----- From: "LI DONG" <ldconfig@hotmail.com> To: <php-general@lists.php.net> Sent: Thursday, September 12, 2002 3:23 PM Subject: [PHP] A question about .php file extension > Hello everyone, > > It is a question about .php file extension. Is there any way to access PHP4 > script in Apache 1.3.x without .php extension? For example, how to use > > http://localhost/phptest?id=22 > > instead of > > http://localhost/phptest.php?id=22 > > Thanks a lot! > > ld. > > _________________________________________________________________ > 享用世界上最大的电子邮件系统― MSN > Hotmail。http://www.hotmail.com/cn > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#116154) next »