Re: PATH_TRANSLATED broken?

From: Date: Mon, 30 Jun 2003 11:36:44 +0000
Subject: Re: PATH_TRANSLATED broken?
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-3032@lists.php.net to get a copy of this message
On Mon, 30 Jun 2003, Uwe Schindler wrote: > I think your problem with that comes from the fact, that in PHP4 the apache > sapi module define this variable in the wrong way (mistake of original > programmer). But a lot of scripts depend on that so we did not fix it in > the PHP_4_3 branch. I think there is a former discussion about this in this > mailing list! But PHP5 should follow the CGI spec: > http://www.graphcomp.com/info/specs/cgi11.html > > To get your version of the variable it would be better for the scripter to > use $_SERVER['SCRIPT_FILENAME'].$_SERVER['PATH_INFO'] I don't need it, I was just wondering if it was correct :) It is it seems. regardsm Derick -- "Interpreting what the GPL actually means is a job best left to those that read the future by examining animal entrails." ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ International PHP Magazine http://php-mag.net/ -------------------------------------------------------------------------

« previous php.internals (#3032) next »