#24981 [NEW]: Global Variables
| From: | ctimm at primetimetech dot com | Date: | Fri, 08 Aug 2003 08:26:46 +0000 |
| Subject: | #24981 [NEW]: Global Variables | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-45550@lists.php.net to get a copy of this message | ||
From: ctimm at primetimetech dot com
Operating system: Windows XP
PHP version: 4.3.2
PHP Bug Type: CGI related
Bug description: Global Variables
Description:
------------
In CGI mode, the global variables
$SCRIPT_NAME and $_SERVER['SCRIPT_NAME'] are /php/php.exe and not what
they should be. I am using Version 4.3.2 on Windows Xp platform (This is
the CGI version)
Reproduce code:
---------------
Replaced All occurences of $SCRIPT_NAME in the PHP files with $PHP_SELF
and that has worked ok
--
Edit bug report at http://bugs.php.net/?id=24981&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24981&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24981&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=24981&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24981&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24981&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24981&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24981&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24981&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24981&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24981&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24981&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24981&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24981&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24981&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24981&r=gnused