Re: [PHP4BETA] Content layering in our beloved pet
| From: | Chris Chabot | Date: | Sat, 26 Feb 2000 23:58:12 +0000 |
| Subject: | Re: [PHP4BETA] Content layering in our beloved pet | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-11015@lists.php.net to get a copy of this message | ||
Or this ... http://www.phpbuilder.com/columns/rasmus19990407.php3?page=2
forcetype apache trick to define /query as a php script ...
then split params by
$params = explode('/',substr($REQUEST_URI,1));
then $params[1] ... $params[n] will hold ur parameters
-- Chris
> > Question number two:
> > I have some heavy-structured tree like data in database, thus I want to do the
> > following parameter passing possible:
> > http://www.mydomain.com/query/1/4/1/0
> > where 1, 4, 1 and 0 are all parameters and query is a php script.
> > Any sugestions ?
>
> This done via apache's internal redirect feature.