Re: Search like php.net's URL thingy

From: Date: Thu, 05 Jun 2008 19:30:04 +0000
Subject: Re: Search like php.net's URL thingy
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-275077@lists.php.net to get a copy of this message
On Thu, Jun 5, 2008 at 3:07 PM, Ryan S <genphp@yahoo.com> wrote: > Hey, > one of the things that make the php.net site so cool is how easy it is to find info for a > function or a list of topics.. eg: > > http://php.net/arrays > http://php.net/count > [snip!] > > since i couldnt find the answer via php.net's source i started messing around with how i > *think* its done... tell me if i am on the correct track: when someone requests a page that does not > exist, a .htaccess file them up and also takes the page name they were searching for and redirects > them to a script... You're on the right track, Ryan. Look up mod_rewrite for Apache, and also consider that php.net uses operations similar to (though not exactlt like) the following procedure: #.htaccess Redirect /ciel http://php.net/manual/en/function.ceil.php -- </Daniel P. Brown> Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just $59.99/mo. with no contract! Dedicated servers, VPS, and hosting from $2.50/mo.

« previous php.general (#275077) next »