RE: [PHP] Parsing files without extensions.
| From: | jeremy brand | Date: | Wed, 22 Nov 2000 01:46:48 +0000 |
| Subject: | RE: [PHP] Parsing files without extensions. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-26559@lists.php.net to get a copy of this message | ||
You can also check out my variables_from_uri() function:
http://www.nirvani.net/software/variables_from_uri.php.asc
Enjoy.
-jeremy brand
Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: jeremy@nirvani.net
http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html
for more
- - - - - - - - - - - - - - - - - - - - - - - - -
I am pleased to see that we have differences. May we together become
greater than the sum of both of us.
-- Surak of Vulcan, "The Savage Curtain", stardate 5906.4
On Tue, 21 Nov 2000, Benjamin Munoz wrote:
> Date: Tue, 21 Nov 2000 17:58:33 -0800
> From: Benjamin Munoz <bmunoz@ivtweb.com>
> To: 'Jeff MacDonald' <jeff@pgsql.com>, Teodor Cimpoesu <teo@digiro.net>
> Cc: php-general@lists.php.net
> Subject: RE: [PHP] Parsing files without extensions.
>
>
> There's an article with more info on this at:
>
> http://www.faqts.com/knowledge-base/view.phtml/aid/124/fid/342
>
> -Ben
>
> -----Original Message-----
> From: Jeff MacDonald [mailto:jeff@pgsql.com]
> Sent: Tuesday, November 21, 2000 5:17 AM
> To: Teodor Cimpoesu
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Parsing files without extensions.
>
>
> you read my mind.
> i'll test this.. thanks.
>
> jeff
>
> On Tue, 21 Nov 2000, Teodor Cimpoesu wrote:
>
> > Hi Jeff!
> > On Mon, 20 Nov 2000, Jeff MacDonald wrote:
> >
> > > Hi
> > >
> > > In an effort to make pages more search engine friendly,
> > > i'd like to be able to have php parse a few that do not
> > > have extensions..
> > >
> > > ie, if it could parse the file "zoom" then i could make
> > > urls like http://foo.com/zoom/1231
> > >
> > > instead of http://foo.com/zoom.php?id=1234
> > >
> > > i've conquered the /1232 vs. id=12312 problem already..
> > > just parse the get string.. but now to make php parse
> > > zoom
> > >
> > > i've added
> > >
> > > AddType application/x-httpd-php zoom
> > >
> > > into httpd.conf with no effect (yes i restarted apache)
> > >
> >
> > <Directory /path/to/dir>
> > <Files "zoom">
> > ForceType application/x-httpd-php
> > </Files>
> > </Directory>
> >
> > and in zoom.php:
> >
> > $path_info = explode ('/',getenv('PATH_INFO'));
> >
> >
> > -- teodor
> >
> >
>
> Jeff MacDonald,
>
> -----------------------------------------------------
> PostgreSQL Inc | Hub.Org Networking Services
> jeff@pgsql.com | jeff@hub.org
> www.pgsql.com | www.hub.org
> 1-902-542-0713 | 1-902-542-3657
> -----------------------------------------------------
> Facsimile : 1 902 542 5386
> IRC Nick : bignose
>
>
> --
> 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
>
>