Re: register_globals on or off?
| From: | Yasuo Ohgaki | Date: | Tue, 03 Apr 2001 23:47:21 +0000 |
| Subject: | Re: register_globals on or off? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-46916@lists.php.net to get a copy of this message | ||
Refer to the PHP Manual for details.
http://www.php.net/manual/en/language.variables.external.php
The Manual is worth to read :)
(Don't forget to read FAQ also, it seems FAQ is updated recently)
Regards,
--
Yasuo Ohgaki
""hi"" <noneofyourbusiness@none.com> wrote in message
news:9acn9h$bgp$1@toye.p.sourceforge.net...
> Hi,
>
> Could someone explain what the following passage in php.ini means:
>
> You should do your best to write your scripts so that they do not require
> ; register_globals to be on; Using form variables as globals can easily
> lead
> ; to possible security problems, if the code is not very well thought of.
>
> If register_globals is off, does that mean you cannot access form variables
> by just referring to their name? And, if that is so, how do you pass
> information from forms to your action script?
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>