[Typo3-dev] PATH_TRANSLATED issues

Wolfgang Klinger wolfgang at stufenlos.net
Fri Apr 30 06:53:00 CEST 2004


 *hiya!*
On 22:03 Thu 29 Apr     , Ingmar Schlecht wrote:
> 
> Since this is very urgent, I'd like to ask you to comment on my 
> suggested fix. It would work, wouldn't it?

 I think so.. but.. read on ;-)

 see
 http://bugs.php.net/bug.php?id=23610 
 ( and http://bugs.php.net/bug.php?id=21575 )

> What exactly are the obstacles we're facing?
> 

 (1)
 I misunderstood something in my first post (though I just read it
 so): ORIG_XXX is the NEW name! that's a fact now.
 (btw: is it possible to change the bug description on bugs.typo3.org
 in any way afterwards?)

 (2)
 SCRIPT_FILENAME is reliable and should always be set to the right value
 (can anybody give an example where this is not true?)
 (even with cgi)

 (3)
 PATH_TRANSLATED or(!) ORIG_PATH_TRANSLATED are reliable if there were
 any transformations (cgi?)
 (while SCRIPT_FILENAME may contain the right path too here! see above)
 
 That's in case true for PHP 4.3.2
 (Linux, Windows, Mac OS X)

 What we definitely need are some phpinfo() comparisons for
 different versions of PHP (in many possible combinations with operating
 systems and servers (mainly apache and IIS (don't know anything about
 IIS and Typo3 though))...

 Should we post this on the main lists?

 thx!
 bye
 Wolfgang







More information about the TYPO3-dev mailing list