Re: GET/POST array handling (was [PATCH] Deprecate use of stdio)

From: Date: Sun, 04 May 2003 17:53:14 +0000
Subject: Re: GET/POST array handling (was [PATCH] Deprecate use of stdio)
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-1222@lists.php.net to get a copy of this message
On Sun, 4 May 2003, Ilia A. wrote: > IMO when the same variable is passed via GPC methods we should follow the GPC > order specified in the config and overwrite variables even if they are arrays > that if merged could potentially have stored both GET & POST data. The reason > is that when merged, it is impossible to tell where the data had come from, > unless the user begins to use the $_GET & $_POST auto-globals, which they > should have been using in the 1st place. That's fine, but that's a nasty BC break. That's not how it has worked in the past. It may be the only sensible way to solve this though. Don't forget that $_REQUEST is affected by this as well. -Rasmus

« previous php.internals (#1222) next »