My way of thinking about is:

With register_globals ON, all variables defined are available anywhere in the script 
(with the exception of functions and classes, unless defined otherwise), whereas with 
register_globals OFF, they are only available through the superglobals for the 
respective variable types.

I'm sure there's a much better way to explain it, but it works for me :o)


Martin Clifford
Homepage: http://www.completesource.net
Developer's Forums: http://www.completesource.net/forums/


>>> "Matt Babineau" <[EMAIL PROTECTED]> 07/22/02 03:59PM >>>
I have never had a clear understanding about what this does, the php.ini
has an explanation but being newer to PHP I don't understand it very
well. Could someone prodive a human explanation about what
register_globals does and why it is so important?
 
Matt Babineau
MCWD / CCFD
-----------------------------------------
e:  <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] 
p: 603.943.4237
w:  <http://www.criticalcode.com/> http://www.criticalcode.com 
PO BOX 601
Manchester, NH 03105
 


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to