ID:               24401
 Comment by:       dlunn at mts dot net
 Reported By:      eero at jlug dot org
 Status:           Critical
 Bug Type:         *General Issues
 Operating System: Linux
 PHP Version:      5.0.0b2-dev
 New Comment:

Isn't register_globals dangerous?  Or has that been changed with PHP 5?


Previous Comments:
------------------------------------------------------------------------

[2003-07-07 09:03:21] [EMAIL PROTECTED]

Making this "Critical", globals are not registered at all,
regardless what register_globals is set to.


------------------------------------------------------------------------

[2003-07-04 11:42:54] [EMAIL PROTECTED]

Bug #24498 was marked as bogus as it is the same issue. 
Verified it here. 

------------------------------------------------------------------------

[2003-07-04 02:26:23] eero at jlug dot org

Tested with latest cvs-version (php5-200307040530 ),
5.0.0b2-dev sama bug still exists.

------------------------------------------------------------------------

[2003-07-04 01:53:55] [EMAIL PROTECTED]

Try the latest PHP 5 snapshot from http://snaps.php.net/


------------------------------------------------------------------------

[2003-07-03 15:38:13] Colin_Witt at baylor dot edu

Same issue here with PHP 5.0.0b1 running on Mac OS X 
10.2.6.

php.ini file says register_globals = On

phpinfo() says register_globals On On

http://localhost/index.php?id=1234 should create $id 
with value 1234, but it does not. If I add a check at 
the top of the script like this, it works:

if ($id == "") { $id = $_GET['id']; }

But there are other GET variables being passed elsewhere 
in the app, and they too are not properly registered.

------------------------------------------------------------------------

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/24401

-- 
Edit this bug report at http://bugs.php.net/?id=24401&edit=1

Reply via email to