note 9247 added to require

From: Date: Tue, 24 Oct 2000 17:13:29 +0000
Subject: note 9247 added to require
Groups: php.notes 
Request: Send a blank email to php-notes+get-6928@lists.php.net to get a copy of this message
It is worth mentioning that from my experience the Apache environment variables (are they called that?) such as $DOCUMENT_ROOT don't seem to work when you "require" a file that requires another file, and that this file requires another file. The third file down this "require" chain loses the ability to call $DOCUMENT_ROOT. I tried to print this variable from the third "require" document and it returned nothing. I am not sure if this is a bug or not. Just thought you'd like to know. Is there anyone else experiencing this problem? http://www.php.net/manual/function.require.php

« previous php.notes (#6928) next »