Re: Parsing files without extensions.

From: Date: Mon, 20 Nov 2000 20:07:13 +0000
Subject: Re: Parsing files without extensions.
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-26323@lists.php.net to get a copy of this message
Do you want to map "zoom" to "zoom.php"? If so then just set up a rewrite rule. In your php code the generated links will be "http://foo.com/zoom/1231" but get mapped to "http://foo.com/zoom.php?id=1234" by mod_rewrite and then passed to the php interpretor. When you write your php files leave the ".php", you don't have to remove it. Paul. www.ywebwerks.com

« previous php.general (#26323) next »