In article <039901c08a48$3d4b5740$[EMAIL PROTECTED]>, 
[EMAIL PROTECTED] ("Toby Miller") wrote:

> 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 :)

Why not either include the doc root in the include_path of php.ini? Or 
define you own DOCUMENT_ROOT constant?

-- 
CC

-- 
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]

Reply via email to