Re: register_globals & security
| From: | Jon Haworth | Date: | Thu, 13 Nov 2003 11:27:49 +0000 |
| Subject: | Re: register_globals & security | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-169466@lists.php.net to get a copy of this message | ||
Hi Fernando,
> I have a PHP application that passes variables (values) from a form.
> I get these using $_POST
>
> However I do also post some variables via a link. Which ofcourse requires
> register_globals to be ON.
Do you mean variables in a URL, like this:
www.example.com/index.php?foo=1&bar=2
If so you can access these via the $_GET array and leave register_globals
turned off.
Cheers
Jon