RE: [PHP] $DOCUMENT_ROOT

From: Date: Tue, 31 Oct 2000 19:52:03 +0000
Subject: RE: [PHP] $DOCUMENT_ROOT
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-22997@lists.php.net to get a copy of this message
If you call $DOCUMENT_ROOT from a function make sure you import it from the global scope by adding 'global $DOCUMENT_ROOT;' to your function. -----Original Message----- $DOCUMENT_ROOT is set all the time right? Or is it one of those fun variables that is only set once in a while? Ben

« previous php.general (#22997) next »