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:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001 8:07 AM
To: [EMAIL PROTECTED]
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]