If you are going to be accepting data, and you don't care or are not
sure if it's going to be a GET or a POST, then use $_REQUEST, which
contains both $_GET and $_POST data.
On Sep 9, 2005, at 7:46 PM, bruce wrote:
hi..
quick question.. a basic link blah allows
you to
process the vars
Request variables: $_REQUEST
*Note: * Introduced in 4.1.0. There is no equivalent array in
earlier versions.
*Note: * Prior to PHP 4.3.0, $_FILES information was also included
in $_REQUEST.
An associative array consisting of the contents of $_GET, $_POST, and
$_COOKIE.
This i
Is there any particular reason that you do not want to mix both type in
foo.php.
I have a few that mix $_SERVER , $_COOKIE, $_POST, and $_FILES.
I do not see a particular performance hit with mixing these since they are
available regardless of whether they are populated or not.
On 9/9/05 4:46
hi..
quick question.. a basic link blah allows you to
process the vars in foo.php using $_GET, easy/basic enough. however, if i
have a form from cat.php that does a 'post' of the form information/input to
the foo.php, i'm then going to have to either change the form to do a 'get'
or else i'm going
4 matches
Mail list logo