#21301 [NEW]: PHP_SELF is empty
| From: | tapken at engter dot de | Date: | Tue, 31 Dec 2002 01:48:43 +0000 |
| Subject: | #21301 [NEW]: PHP_SELF is empty | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-28805@lists.php.net to get a copy of this message | ||
From: tapken@engter.de
Operating system: Linux (SuSE)
PHP version: 4.3.0
PHP Bug Type: Scripting Engine problem
Bug description: PHP_SELF is empty
Did anyone change the way php get it's PHP_SELF-Variable?
On my server php-files are wrapped through a slightly patched version of
cgiwrap. I changed a few lines so that PHP_SELF is not broken and cgiwrap
is not visible to the user. For details have a look at:
http://www.engter.de/phpinfo.php
http://roland.engter.de/stuff/cgiwrap-PATH_INFO.patch
http://roland.engter.de/stuff/cgiwrap-SCRIPT_NAME.patch
With PHP 4.2.3 everything worked fine. But after updating to PHP 4.3.0
(with --disable-cli) PHP_SELF was empty. At first i thought that my
patch on cgiwrap was the reason for this, but finally i installed PHP
4.2.3 again and everything was fine.
Any ideas?
--
Edit bug report at http://bugs.php.net/?id=21301&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21301&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21301&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21301&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21301&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21301&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21301&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21301&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21301&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21301&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21301&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21301&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21301&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21301&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=21301&r=gnused