Re: [PHP] Friendly URL

2004-12-11 Thread Bruno B B Magalhães
Richard, well a much simpler solution than my old one: $this-uri = explode('/',basename($_SERVER['SCRIPT_NAME']).$_SERVER['PATH_INFO']); Many thanks for your help, Bruno B B Magalhaes On Dec 10, 2004, at 11:57 PM, Richard Lynch wrote: $_SERVER['PHP_SELF'] or $_SERVER['SCRIPT_FILENAME'] or ...

[PHP] Friendly URL

2004-12-10 Thread Bruno B B Magalhães
Hi guys, As part of my framework I have a URI decoder so it explode, remove unnecessary data (as GET query) amd put it into an array... Is there any better way of doing this (faster?), just wondering. if(isset($_SERVER['REQUEST_URI']) === true) {

Re: [PHP] Friendly URL

2004-12-10 Thread Richard Lynch
Bruno B B Magalhães wrote: Hi guys, As part of my framework I have a URI decoder so it explode, remove unnecessary data (as GET query) amd put it into an array... Is there any better way of doing this (faster?), just wondering. if(isset($_SERVER['REQUEST_URI']) === true)