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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux