pathinfo or other

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

 



Hello,

What is the best way to get the /somedir/ values in the request URI?

I tried
$t_pathinfo = $_SERVER['PATH_INFO'];

but was given an error of undefined index. After looking at the docs, it appears the error derives from something I may have to do in the .ini file.

However, is there a standard/better way of grabbing the info after the host and before the query string.. perhaps 'SCRIPT_NAME'?

Thanks!

Donovan




--
D Brooke

--
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