From: [EMAIL PROTECTED] Operating system: Slackware Linux PHP version: 4.2.2 PHP Bug Type: *General Issues Bug description: register_global and scoping vars
Hi this is most a request than a regular bug report. we found that we can't access get and post vars in user defined function by using $var in PHP 4.2. even with register_globals set to on, variable cannot be accessed by using the common way. this require a lot of work to adapt our code and we prefer to take the responsability on our own. we understand the security issue, and appreciate that PHP take care of user security. but, can't we handle by our own the security problem ? is there any option to make External variables being global as it was ? thanks -- Edit bug report at http://bugs.php.net/?id=20549&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20549&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20549&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20549&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20549&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20549&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=20549&r=support Expected behavior: http://bugs.php.net/fix.php?id=20549&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=20549&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=20549&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20549&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20549&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20549&r=dst IIS Stability: http://bugs.php.net/fix.php?id=20549&r=isapi