RE: [PHP-QA] RC5 report with Win32 and Apache: ok except $PHP_SELF
| From: | James Moore | Date: | Thu, 14 Dec 2000 11:20:18 +0000 |
| Subject: | RE: [PHP-QA] RC5 report with Win32 and Apache: ok except $PHP_SELF | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-1861@lists.php.net to get a copy of this message | ||
Yeah, will do.. can you submit a bug report for the manual and assign it to
me then Ill remeber to do it when I next look at the bugs.. Im very busy atm
and prone to forgetting things :)
Cheers
James
--
James Moore
PHP Quality Assurance Team
jmoore@php.net
> -----Original Message-----
> From: Olivier Cahagne [mailto:olivier.cahagne@epita.fr]
> Sent: 14 December 2000 11:04
> To: James Moore; Olivier Cahagne; php-qa@lists.php.net
> Subject: Re: [PHP-QA] RC5 report with Win32 and Apache: ok except
> $PHP_SELF
>
>
> [...]
> > > and the same happens, phpinfo() loaded from
> > > http://192.168.0.1/php/info.php
> > > shows PHP_SELF /php4/php.exe/php/info.php
> > >
> > > PS: I was properly changing php4ts.dll every time I switched versions.
> >
> > When working in CGI mode $PATH_INFO should be used rather than $PHP_SELF
> > which in cgi mode is reporting the correct path, this isnt a bug but the
> way
> > that apache (or any other CGI system AFAIK) reports the script name.
>
> All right, I'm used to compiling PHP myself with --enable-discard-path and
> using it on Unix with suEXEC. As I don't use PHP and Windows
> much, I thought
> precompiled binaries behaved the same way.
> I wrote a Webmail client that uses $PHP_SELF and wanted to be
> sure it would
> work the same way on Win32 in case some people would want to. I thought
> $PHP_SELF would be transparent through all SAPI... oh well :)
>
> I just checked
> http://www.php.net/manual/language.variables.predefined.php
> and this is only mentioned in the user notes, perhaps it could be in the
> manual itself ?
>