RE: [PHP] $DOCUMENT_ROOT

From: Date: Tue, 30 Jan 2001 02:47:27 +0000
Subject: RE: [PHP] $DOCUMENT_ROOT
Groups: php.general 
Request: Send a blank email to php-general+get-37226@lists.php.net to get a copy of this message
Just add the full path of your web server into your include_path (php.ini) - this should work the best for you. Cheers, Maxim Maletsky -----Original Message----- From: Toby Miller [mailto:tmiller@creativegeneration.com] Sent: Tuesday, January 30, 2001 8:07 AM To: php-general@lists.php.net Subject: [PHP] $DOCUMENT_ROOT Whenever I include files in Apache I always do it like this: include($DOCUMENT_ROOT."/folder/file.php"); However, now I am doing a site in IIS and I do not have $DOCUMENT_ROOT at my disposal. What do most of you usually do to workaround this? Aside from installing Apache and Linux and bypassing the whole Windows thing :) Thanks, Toby

« previous php.general (#37226) next »