Re: New PHP extension
| From: | Derick Rethans | Date: | Sun, 16 Feb 2003 20:16:45 +0000 |
| Subject: | Re: New PHP extension | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-13384@lists.php.net to get a copy of this message | ||
On Sat, 15 Feb 2003, Brian Moon wrote:
> I have written an extention (currently called autoglobal) that allows one to
> enter names of variables in the ini file to be treated as a super global
> (perhaps a better name is superglobal). This is very handy for us as we
> have paths to code librarys, a single database object and other variables
> that we use in almost every function we create. We have created our own
> array $_DN so that our settings and such are not stepped on by the global
> scope. Very handy.
Might be handy, but it's a very nice way to write ugly code.
Derick
--
Stop mad cowboy disease!
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
PHP Magazine - PHP Magazine for Professionals http://php-mag.net/
-------------------------------------------------------------------------