$DOCUMENT_ROOT -- didn't work from a class..

From: Date: Wed, 30 Aug 2000 08:27:15 +0000
Subject: $DOCUMENT_ROOT -- didn't work from a class..
Groups: php.general 
Request: Send a blank email to php-general+get-14341@lists.php.net to get a copy of this message
Hello gurus! In one of my classes that I'm currently writing I'm trying to output $DOCUMENT_ROOT as simple as that... echo 'HERE->>>'.$DOCUMENT_ROOT.'<br>'; but because it is inside a function which is called from the main script, it does not output anything except HERE->>> What can be the problem? Why it happens inside the class and not on a simple php file? If I don't mistake language_variables_predefined_apacheApache variables once they are activated should work no matter what the extension of the file is as long as they are includ()ed, right? Greatly appreciate your help. Maxim Maletsky - maxim@j-door.com <mailto:maxim@j-door.com> Webmaster, J-Door.com / J@pan Inc. LINC Media, Inc. TEL: 03-3499-2175 x 1271 FAX: 03-3499-3109 http://www.j-door.com <http://www.j-door.com/> http://www.japaninc.net <http://www.japaninc.net/> http://www.lincmedia.co.jp <http://www.lincmedia.co.jp/>

« previous php.general (#14341) next »