[Xitami] $PHP_SELF variable

Fabian Bess xitami@lists.xitami.org
Mon, 12 Nov 2001 10:01:53 +0100


I have a problem with the $PHP_SELF variable. Since Version 2.4d5 (or d4 
I'm not sure) this PHP variable which should be filled with the calling 
script's filename is empty. It seems that Xitami doesn't hand over the 
information needed by PHP to fill this variable.
For a while I used $SCRIPT_NAME instead but it's a bit uncomfortable 
because I have to edit all scripts before uploading them to my host due 
to his configuration where this variable is filled with the path to PHP 
itself.
This problem started occuring with the obove mentioned version d4 or d5 
of Xitami. Before that $PHP_SELF was fully available.

Any other idea to get around this or how to get $PHP_SELF to work agian?

Thx
-- 
Fabian Bess (webmaster@tannenhof.de)
Webmaster Drogenhilfe Tannenhof Berlin e.V. 'http://www.tannenhof.de'