Re: BUG: variables from the query string are not accessible in script
| From: | Rasmus Lerdorf | Date: | Thu, 11 Apr 2002 01:55:40 +0000 |
| Subject: | Re: BUG: variables from the query string are not accessible in script | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-82542@lists.php.net to get a copy of this message | ||
On Wed, 10 Apr 2002, Aaron Bannert wrote:
> On Thu, Apr 11, 2002 at 02:20:00AM +0100, Wez Furlong wrote:
> > the php configuration directive register_globals defaults to off
> > in PHP 4.2; are you sure it's not just due to misconfiguration?
>
> Yeah, that was the problem.
>
> I'm sure I could go look back in the logs for why this change
> occured, but the part of me that spent *way* too long on this
> has to ask: Why did this change? Doesn't this violate the
> Principle of Least Astonishment?
Yes it does.
Even the most advanced users get bitten by this. When 4.2 finally goes
out the door we will have an onslaught of these. I am definitely not
looking forward to it.
-Rasmus