RE: [PHP] register_globals & security
| From: | Fernando Melo | Date: | Thu, 13 Nov 2003 15:13:17 +0000 |
| Subject: | RE: [PHP] register_globals & security | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-169509@lists.php.net to get a copy of this message | ||
I was not making an assumption. I was stating a fact.
"I get these using $_POST"
I did NOT state that register_globals needs to be on to do what I'm doing.
It seems everyone else understood my query except you.
Thanks to everyone who tried to help!
-----Original Message-----
From: Chris Shiflett [mailto:shiflett@php.net]
Sent: 13 November 2003 17:07
To: Fernando Melo; 'php-general@lists.php.net'
Subject: Re: [PHP] register_globals & security
--- 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