|
-
Dec 19th, 2005, 11:29 PM
#1
Thread Starter
Lively Member
GET & REQUEST
Hello, can someone please tell me the difference between GET and REQUEST, I yet to find a clear defination for these functions and which one is better then another for a particular task, thanks.
-
Dec 20th, 2005, 01:11 AM
#2
PowerPoster
Re: GET & REQUEST
"An associative array consisting of the contents of $_GET, $_POST, and $_COOKIE."
http://au3.php.net/reserved.variables
GET and POST would be the ones I would use, everyone else does. :\
-
Dec 20th, 2005, 12:04 PM
#3
Re: GET & REQUEST
$_REQUEST can be useful if you don't care whether a particular variable is sent via an HTTP POST method (in the body of the request) or in the query string of the URL. If you do decide to use $_REQUEST be aware of the order in which PHP loads variables in to the array. This is determined by the variables_order directive in the php.ini file.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|