Re: RE: path under include() function

From: Date: Thu, 23 Nov 2000 16:48:36 +0000
Subject: Re: RE: path under include() function
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-4073@lists.php.net to get a copy of this message
Hi Mitesh! Thanks for your reply. You should have replied to the thread I started :o) Anyways. Well I tried your code in my script.. <?php include("$GLOBALS[DOCUMENT_ROOT]/includes/header.htm"); ?> And here's the error I got. ========================================================= Warning: Undefined index: DOCUMENT_ROOT in d:\websites\inetccon.com\references\index.php on line 8 Warning: Failed opening ' /includes/header.htm' for inclusion (include_path='') in d:\websites\inetccon.com\references\index.php on line 8 ========================================================== If you use ICQ maybe we could debug this some more together. My ICQ number is: 7893837 Hoping to hear from you again. Oh I don't want to use specified path. I'm a web developer and i'm testing my sites on my own computer once it's done and working I then upload it, I want to have a fast way of finishing my sites without having to go back and rename all those paths and stuff, yu nuh!. It should work on any system. Now i'm stuck again.

« previous php.windows (#4073) next »