Re: When to you use $_REQUEST[ ] array in php..? hi................
Contains all variables sent via HTTP GET, HTTP POST, and HTTP cookies.
This is basically the equivalent of combining $_GET, $_POST, and $_COOKIE, and is less dangerous than using $GLOBALS. However, as it does contain all variables from untrusted sources (that is, your visitors), you should still try to steer clear unless you have very good reason to use it. There's no equivalent to $_REQUEST in versions of PHP before v4.1.
Thaks
T. Saravanan |