_REQUEST['var'] and _GET['var']
Moderator: General Moderators
_REQUEST['var'] and _GET['var']
What is the difference between _REQUEST['var'] and _GET['var'] ???
Re: _REQUEST['var'] and _GET['var']
$_REQUEST is an array of all the values from $_GET and $_POST. If you have a $_GET variable and a $_POST variable with the same name you won't know which one is in $_REQUEST (because it can vary from server to server depending on PHP.ini). Always use $_POST and $_GET if you have the option.
Re: _REQUEST['var'] and _GET['var']
THANK YOU