Re: $_SERVER registration issue
| From: | Andrei Zmievski | Date: | Tue, 18 Mar 2003 14:05:26 +0000 |
| Subject: | Re: $_SERVER registration issue | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-83@lists.php.net to get a copy of this message | ||
On Tue, 18 Mar 2003, Zeev Suraski wrote:
> Well, it works well though :) All you have to do is hint PHP that you're
> going to touch it, and it will be available for you immediately. To do
> that, simply call:
>
> zend_is_auto_global("_SERVER", sizeof("_SERVER")-1 TSRMLS_CC);
>
> and you're done. ext/standard/info.c already makes use of this.
Thanks, that worked.
-Andrei http://www.gravitonic.com/
When we eliminate the impossible, whatever remains,
however improbable, must be true. -- Sherlock Holmes