Re: Retrieving parameters passed from .html...?

From: Date: Wed, 11 Apr 2007 14:08:24 +0000
Subject: Re: Retrieving parameters passed from .html...?
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-252574@lists.php.net to get a copy of this message
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"

« previous php.general (#252574) next »