To get your version of the variable it would be better for the scripter to use $_SERVER['SCRIPT_FILENAME'].$_SERVER['PATH_INFO']
By the way in PHP4 all other SAPI modules do the translation in the right way.
At 11:57 30.06.2003 +0200, Derick Rethans wrote:
Hey,
with this URL: http://dru-nl/b.php/1/r/2/1/1 I get back the following server variables (PHP 5.0.0b1, apache 1 module): 'REQUEST_URI' => '/b.php/1/r/2/1/1' 'SCRIPT_NAME' => '/b.php' 'PATH_INFO' => '/1/r/2/1/1' 'PATH_TRANSLATED' => '/home/httpd/html/dru/modules/user/1/r/2/1/1' 'PHP_SELF' => '/b.php/1/r/2/1/1'
Shouldn't PATH_TRANSLATED be? 'PATH_TRANSLATED' => '/home/httpd/html/dru/modules/user/b.php/1/r/2/1/1'
regards, Derick
--
------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ JDI Media Solutions http://www.jdimedia.nl/ International PHP Magazine http://www.php-mag.net/ -------------------------------------------------------------------------
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php