Re: Re: Re: [PHP-WINDOWS] $PHP_SELF and Apache and Win32 (strange values)

From: Date: Tue, 20 Jun 2000 05:16:56 +0000
Subject: Re: Re: Re: [PHP-WINDOWS] $PHP_SELF and Apache and Win32 (strange values)
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-551@lists.php.net to get a copy of this message
Yeah! Why don't they? :-) ----- Original Message ----- From: <phoenix@phoenixdigital.com> To: Ignatius Teo <iteo@scu.edu.au>; <php-windows@lists.php.net> Sent: Tuesday, June 20, 2000 2:10 PM Subject: re: Re: Re: [PHP-WINDOWS] $PHP_SELF and Apache and Win32 (strange values) > > 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? > > > > > >

« previous php.windows (#551) next »