Re: Session problem
| From: | epplestun | Date: | Tue, 18 Mar 2003 16:59:01 +0000 |
| Subject: | Re: Session problem | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-87@lists.php.net to get a copy of this message | ||
you can see this:
At 23:51 17/03/2003, Andrei Zmievski wrote:
>Today I tried to run PHP-GTK with ZE2 changes against current CVS and it
>segfaulted. I traced it to the fact that
>PG(http_globals)[TRACK_SERVER_VARS] is no longer available if $_SERVER
>is not present in the PHP code, due to the changes Zeev (I think) made
>in order to improve efficiency. I don't quite agree with the way it
>works right now.
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.
Zeev
----- Original Message -----
From: "michel 'ziobudda' morelli" <michel@ziobudda.net>
To: "php-dev" <internals@lists.php.net>
Sent: Tuesday, March 18, 2003 4:31 PM
Subject: [PHP-DEV] Session problem
> Any news about this bug
>
> http://bugs.php.net/bug.php?id=22175
>
> ?
>
> Tnx
>
> --
> michel 'ziobudda' morelli <michel@ziobudda.net>
>
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>