Re: $PHP_SELF not set !
| From: | Andy Woolley | Date: | Mon, 26 Nov 2001 17:52:39 +0000 |
| Subject: | Re: $PHP_SELF not set ! | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-4054@lists.php.net to get a copy of this message | ||
>> Is this a Windows-specific thing?
It certainly seems that way.
Any request for $PHP_SELF that I've done from a Windows server will result
in an empty variable. *nix seems to be fine.
I've even tried it with 4.0.6 and it's the same.
I'll run some more tests and let you know what I find.
Regards.
Andy.
----- Original Message -----
From: "Rasmus Lerdorf" <rasmus@php.net>
To: "Zak Greant" <zak@php.net>
Cc: "Zeev Suraski" <zeev@zend.com>; "Hellekin O. Wolf"
<hellekin@php.net>;
<php-qa@lists.php.net>
Sent: Monday, November 26, 2001 5:39 PM
Subject: Re: [PHP-QA] $PHP_SELF not set !
> > On November 26, 2001 09:00 am, Rasmus Lerdorf wrote:
> > > > On November 26, 2001 08:57 am, Zeev Suraski wrote:
> > > > > Can anybody else confirm this?
> > > >
> > > > Confirmed on Linux w/ RC 3
> > > >
> > > > $SCRIPT_NAME and other related vars exist...
> > >
> > > Confirmed? Please clarify. You confirmed the bug, or you confirmed
that
> > > $PHP_SELF works fine?
> >
> >
> > *sheepish grin*
> >
> > To be more specific, $PHP_SELF is not set.
> >
> > isset ($PHP_SELF) returns FALSE.
>
> Hrm.. Is this a Windows-specific thing? I just built 4.1 on Linux and
> isset($PHP_SELF) is returning true and phpinfo() is showing it correctly.
>
> -Rasmus
>
>
> --
> PHP Quality Assurance Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-qa-unsubscribe@lists.php.net
> For additional commands, e-mail: php-qa-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>