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

From: Date: Wed, 11 Apr 2007 13:50:04 +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-252573@lists.php.net to get a copy of this message
At 2:48 PM +0200 4/11/07, 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
I wouldn't recommend using $_REQUEST -- it can be problematic in a couple of ways. 1) You don't know where the data came from; 2) One (GET or POST) takes precedence over the other -- I don't remember which at the moment. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#252573) next »