|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-07-30 21:12 UTC] remco at panviva dot com
if I open a script containing only the phpinfo() function, the $PHP_SELF field is not filled in. In my own scripts it's not setted at all. I'm using the zipped version of php4.06 with cgi wrapper using xitami 2.4d6 running as a windows service. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 18:00:02 2025 UTC |
Typically register_globals = on is what creates $PHP_SELF. register_globals affects many variables, SERVER ones too. If you really want $PHP_SELF to exist then try: if (!ini_get('register_globals')) { extract($HTTP_SERVER_VARS); } This may or may not be a solution to the original bug report, but is regarding Oliver's and perhaps Jeff's.