From: bertrand at linkeo dot com Operating system: GNU/Linux Debian PHP version: 4.3.4 PHP Bug Type: CGI related Bug description: CGI mode: $PHP_SELF incorrect
Description: ------------ While used in CGI mode, $PHP_SELF seems not to be set to the correct value: _SERVER["PHP_SELF"] => /var/www/vhs-testsuite/bar.tld/foo.php I also noticed this: SCRIPT_NAME => /foo.php _SERVER["SCRIPT_NAME"] => /var/www/vhs-testsuite/bar.tld/foo.php _ENV["SCRIPT_NAME"] => /foo.php _SERVER["SCRIPT_NAME"] seems not to follow the environment variables data. Bug described here:http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0302/msg00540.html -- Edit bug report at http://bugs.php.net/?id=28109&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28109&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28109&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28109&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28109&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28109&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28109&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28109&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28109&r=support Expected behavior: http://bugs.php.net/fix.php?id=28109&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28109&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28109&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28109&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28109&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28109&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28109&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28109&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28109&r=float
