tedd wrote:

I wouldn't recommend using $_REQUEST -- it can be problematic in a couple of ways. 1) You don't know where the data came from; 2) One (GET or POST) takes precedence over the other -- I don't remember which at the moment.

2) It depends on your php.ini setting, specifically:

variables_order = "EGPCS"

E = Environment
G = GET
P = POST
C = Cookie
S = Built-in Variables

The default php.ini will have POST over-write GET (as it goes from left to right, the new values (on the right) replacing those from the left)

Cheers,

Rich
--
Zend Certified Engineer
http://www.corephp.co.uk

"Never trust a computer you can't throw out of a window"

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to