Re: register_globals & security
| From: | Chris Shiflett | Date: | Thu, 13 Nov 2003 15:06:36 +0000 |
| Subject: | Re: register_globals & security | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-169504@lists.php.net to get a copy of this message | ||
--- Fernando Melo <fernando.m@envent.co.za> wrote:
> 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.
This is a common problem I see on this list. When asking a question, try
not to make assumptions or attempt to answer your own question.
In this case, your assumption is wrong. This does not require
register_globals to be on. Get variables are in $_GET, and POST variables
are in $_POST.
Hope that helps.
Chris
=====
My Blog
http://shiflett.org/
HTTP Developer's Handbook
http://httphandbook.org/
RAMP Training Courses
http://www.nyphp.org/ramp