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

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

Reply via email to