RE: [PHP] echo $PHP_SELF doesn't work in an include

2001-09-06 Thread Andre Lacour
> Hi, > > > I include another script-file with include_once. Now the output > > of my PHP-Vars ($PHP_SELF, $REQUEST_URI, > > $DOCUMENT_ROOT) is empty. In my parent-scripts the > > output works fine, but in the include it neither outputs the > > parent-data nor the include-data. > > try echo $GLO

Re: [PHP] echo $PHP_SELF doesn't work in an include

2001-09-06 Thread indrek siitan
Hi, > I include another script-file with include_once. Now the output > of my PHP-Vars ($PHP_SELF, $REQUEST_URI, > $DOCUMENT_ROOT) is empty. In my parent-scripts the > output works fine, but in the include is neither outputs the > parent-data nor the include-data. try echo $GLOBALS["PHP_SELF"].