On October 14, 2014 at 11:23:13 AM, Lester Caine (les...@lsces.co.uk) wrote:
On 14/10/14 14:41, Mike Dugan wrote: 
> * $_REQUEST - query string and request body parameters 
> 
> Makes more sense than $_GET and $_POST. 
That was actually Andrea’s reply. I don’t the intent was the $_REQUEST is new, 
just clarifying that it would still contain the same data.


Am I missing something. I've used $_REQUEST since day one since the form 
returns are always a combination of the Post and url data ... 

All right if state variables are passed with the URL, I may just use 
$_GET but only because I know I'm GETting back the previous state. I 
just don't see the need for this debate. 
The entire point of this debate is that $_GET are passed through the URL and 
not necessarily indicative of a GET (HTTP) action. You could just as easily 
POST data to a URL with parameters, so although you would access those URL 
params via $_GET, the HTTP request itself isn’t a GET request. If you pass 
state data through the URL, there’s no mandate that you're GETting anything, 
rather you’re accessing the query string that’s appended to the URL regardless 
of the HTTP action.


-- 
Lester Caine - G8HFL 
----------------------------- 
Contact - http://lsces.co.uk/wiki/?page=contact 
L.S.Caine Electronic Services - http://lsces.co.uk 
EnquirySolve - http://enquirysolve.com/ 
Model Engineers Digital Workshop - http://medw.co.uk 
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk 

-- 
PHP Internals - PHP Runtime Development Mailing List 
To unsubscribe, visit: http://www.php.net/unsub.php 



-- 
Mike Dugan
m...@mjdugan.com

Reply via email to