[Xitami] PHP_SELF problem

evan heller xitami@lists.xitami.org
Sat, 07 Sep 2002 12:43:31 -0400


If you turn Register_Globals which you should for
security sakes the code would be:

$_SERVER["PHP_SELF"] = $_SERVER["SCRIPT_NAME"]

-Evan

Fabian Bess wrote:
> 
> TW schrieb:
> 
> > Use a workaround if nothing else helps.
> > Put the following in some ever available header or config file:
> 
> easier:
> $PHP_SELF = $SCRIPT_NAME;
> 
> works fine.
>