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 ...
I
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']) === tru
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)
{
3 matches
Mail list logo