Re: Retrieving parameters passed from .html...?

From: Date: Wed, 11 Apr 2007 12:57:03 +0000
Subject: Re: Retrieving parameters passed from .html...?
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-252566@lists.php.net to get a copy of this message
clive wrote:
itoctopus wrote:
yup, $_GET to get stuff from the URL $_POST to get stuff from the form $_SESSION to get stuff from the session $_FILES in case you have files in your form, they will be stored here
and $_REQUEST to get $_GET, $_POST, and $_COOKIE all in one
If you're going to suggest things like that please explain the dangers. By using $_REQUEST you cannot be sure where a particular variable came from. This is less important with $_REQUEST than it was with register_globals, but it's still important to note for new users. -Stut

« previous php.general (#252566) next »