echo $PHP_SELF doesn't work in an include

From: Date: Thu, 06 Sep 2001 09:32:31 +0000
Subject: echo $PHP_SELF doesn't work in an include
Groups: php.general 
Request: Send a blank email to php-general+get-66182@lists.php.net to get a copy of this message
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.

« previous php.general (#66182) next »