php-developer-list | 2001122
Date: 12/28/01
- Next message: goba <email protected>: "[PHP-DEV] Bug #14732 Updated: Broken links in global.ent"
- Previous message: abraham_guyt <email protected>: "[PHP-DEV] Bug #14734: default HTTP vars and PHP_SELF not available"
- In reply to: abraham_guyt <email protected>: "[PHP-DEV] Bug #14734: default HTTP vars and PHP_SELF not available"
- Next in thread: mfischer <email protected>: "[PHP-DEV] Bug #14734 Updated: default HTTP vars and PHP_SELF not available"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 14734
Updated by: rasmus
Reported By: abraham_guyt <email protected>
Old Status: Open
Status: Bogus
Bug Type: Scripting Engine problem
Operating System: Win XP
PHP Version: 4.1.0
New Comment:
Then don't turn register_globals off. Turning off register_globals gets rid of all the globals. If you still want some, leave it turned on, but simply set your variables_order directive in your php.ini file to reflect which globals you want. For example, if you want environment and server variables, set it to "ES"
Previous Comments:
------------------------------------------------------------------------
[2001-12-28 09:31:19] abraham_guyt <email protected>
When using PHP with track_vars On and register_globals Off (recommended setting), PHP doesn't know the built-in system and environment vars anymore.
For example, $PHP_SELF becomes and unknow variable.
This is really annoying.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14734&edit=1
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: goba <email protected>: "[PHP-DEV] Bug #14732 Updated: Broken links in global.ent"
- Previous message: abraham_guyt <email protected>: "[PHP-DEV] Bug #14734: default HTTP vars and PHP_SELF not available"
- In reply to: abraham_guyt <email protected>: "[PHP-DEV] Bug #14734: default HTTP vars and PHP_SELF not available"
- Next in thread: mfischer <email protected>: "[PHP-DEV] Bug #14734 Updated: default HTTP vars and PHP_SELF not available"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

