Re: Using $HTTP_SESSION_VARS with register_globals On
| From: | Chuck Hagenbuch | Date: | Mon, 21 May 2001 21:59:11 +0000 |
| Subject: | Re: Using $HTTP_SESSION_VARS with register_globals On | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-56138@lists.php.net to get a copy of this message | ||
Quoting Andrei Zmievski <andrei@ispi.net>:
> Can't please everybody, eh?
Of course not. But I think it's pretty bad that code written to work with
register_globals = Off breaks when its turned on; it kind of fucks the idea of
writing general php code that people can run anywhere, if you'll pardon the
expression. You have to alias the two values yourself, and you run into all
kinds of problems with references and globals and weird strange scoping issues
that are hell (and about as damn unintuitive as PHP gets) to deal with.
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
Black and white and grey, all the shades of truth.