ID: 38040 Updated by: [EMAIL PROTECTED] Reported By: php at jon dot limedaley dot com -Status: Open +Status: Feedback Bug Type: CGI related Operating System: Debian Linux testing PHP Version: 5.1.4 New Comment:
var_dump($_SERVER); ? Previous Comments: ------------------------------------------------------------------------ [2006-07-08 19:37:08] php at jon dot limedaley dot com Description: ------------ This is a duplicate of #31892, but I am not sure if anyone will see that old bug? I don't know the code well enough to know if that patch submitted is perfectly fine to include in the main code. Can someone check to see if it looks alright? I am unable to use php5 in cgi mode due to php_self not being correctly reported. I can provide an example or a login if it is unclear what is happening. I see Bug #31843, but I don't understand the response. I should just change all scripts to not use $php_self? I guess I could make my own php_self my appending $SCRIPT_FILENAME.$PATH_INFO? Is there any reason why this isn't fixed? ie. does anyone use PHP_SELF in its current form, who would notice if it was changed back to its old behavior? Reproduce code: --------------- echo $_SERVER['PHP_SELF'] Expected result: ---------------- the actual script path. Actual result: -------------- NULL ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38040&edit=1