[PHP] Re: $PHP_SELF problem

2004-04-20 Thread Red Wingate
[EMAIL PROTECTED] wrote: > Hi > > $thisFileName = $PHP_SELF; works in a file just a few lines after the > program start. > > $thisFileName = $PHP_SELF; doesn't work (echo ("Debug: self: > $PHP_SELF"); returns Debug: self: ) if it's within function > getNavigation() in the Navigation object calle

[PHP] Re: $PHP_SELF problem

2004-04-20 Thread Craig
http://ie.php.net/globals Instead of $PHP_SELF use $_SERVER['PHP_SELF'] Craig "Red Wingate" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > [EMAIL PROTECTED] wrote: > > > Hi > > > > $thisFileName = $PHP_SELF; works in a file just a few lines after the > > program start. > > > > $t