Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- magic quotes and register globals
April 8, 2005, 8:41 pm
rate this thread
Re: magic quotes and register globals
First of all, magic quotes and register globals have nothing to do with
each other. If register globals was enabled in your example above, a
variable $var would automatically available. If register globals is
disabled, it won't be available as $var, but rather as $_GET['var'] (or
If you have magic_quotes_gpc enabled, your example will output \"test\"
regardless of the register globals setting.