Re: extracting foo.bar from path/to/file.php/foo.bar

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 04 Nov 2005 09:59:16 -0500, Leonard Burton wrote:

> Greetings,
> 
> What do I need to do to extract foo.bar from path/to/file.php/foo.bar
> 
> $_SERVER['REQUEST_URI'] will return the whole string but is there anything
> more direct than doing a regex and 'REQUEST_URI'?

See: $_SERVER['PATH_INFO'];


Curt.
-- 
http://news.zirzow.dyndns.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux