ID: 20549
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Won\'t fix
Bug Type: Feature/Change Request
Operating System: Slackware Linux
PHP Version: 4.2.2
New Comment:
no, most likely not.
Derick
Previous Comments:
------------------------------------------------------------------------
[2002-11-22 10:26:01] [EMAIL PROTECTED]
register_globals ini setting will probably be avaliable for a long time
to come.
------------------------------------------------------------------------
[2002-11-22 10:19:53] [EMAIL PROTECTED]
but it was already possible to do it.
i dont know which version i used, but it worked fine.
i think this could be customizable. again, even if PHP is secure by
default, user could prefer to handle risk on their own.
another little question, do you plan to remove register_globals option
availability in future version ? if yes, we will start update our code
now. i hope not.
thanks
------------------------------------------------------------------------
[2002-11-22 05:35:30] [EMAIL PROTECTED]
That is not going to happen.
------------------------------------------------------------------------
[2002-11-21 22:09:43] [EMAIL PROTECTED]
yes i enabled register_globals
but i would like my variables to be really global and usable in every
scope, even in user defined function
function foo()
{
echo $varX;
}
without specifying "global $varX;"
------------------------------------------------------------------------
[2002-11-21 16:34:48] [EMAIL PROTECTED]
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
If you enable register_globals then variables passed via
GET/POST/COOKIE will be avaliable in the global scope.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/20549
--
Edit this bug report at http://bugs.php.net/?id=20549&edit=1