re: Re: Re: [PHP-WINDOWS] $PHP_SELF and Apache and Win32 (strange values)
| From: | phoenix at phoenixdigital dot com | Date: | Tue, 20 Jun 2000 04:10:40 +0000 |
| Subject: | re: Re: Re: [PHP-WINDOWS] $PHP_SELF and Apache and Win32 (strange values) | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-548@lists.php.net to get a copy of this message | ||
Why don't they use this directive when they compile the CGI versions for Win32?
> It depends on how you compile PHP - if you run PHP on Unix as a CGI you
> *should* use the --enable-force-redirect compile time switch. This forces
> PHP to "hide" the script path and therefore you don't get URLs like
> http://blah.com/php3/php.exe/index.php3. This also prevents
> posting errors
> in forms that use action="<?php echo $PHP_SELF;?>".
>
> Ignatius
>
> ----- Original Message -----
> From: <phoenix@phoenixdigital.com>
> To: Ignatius Teo <iteo@scu.edu.au>; <php-windows@lists.php.net>
> Sent: Tuesday, June 20, 2000 1:18 PM
> Subject: re: Re: [PHP-WINDOWS] $PHP_SELF and Apache and Win32 (strange
> values)
>
>
> >
> > Thanks.
> >
> > I ended up doing that and ot worked again.
> > I just wasn't sure if it was a feature or a bug of apache?
> > I thought I could have just moved my script bettween webservers and there
> would be no problem. :(
> > Does the cgi version on Unix do this?
> >
> >
>
>