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



D Brooke

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

Reply via email to