Re: Sometimes problems with include("./xxxxx.xxx")

From: Date: Sun, 10 Dec 2000 19:07:58 +0000
Subject: Re: Sometimes problems with include("./xxxxx.xxx")
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-4411@lists.php.net to get a copy of this message
Hi Thomas This error is generated when include file is not found check the directory in which you are storing this,whether it is getting the include file you can try this <?php include("$GLOBALS[DOCUMENT_ROOT]/xxxxx.xx"); ?> if required check the setting check the setting of doc_root under php.ini file keep your include file in your local_path or try this <?php include("$GLOBALS[DOCUMENT_ROOT]/include/xxxxx.xx"); ?> and keep all the included file in include directory ----- Original Message ----- From: Thomas <Yin.Yang@gmx.net> To: <php-windows@lists.php.net> Sent: Tuesday, December 12, 2000 2:20 AM Subject: [PHP-WIN] Sometimes problems with include("./xxxxx.xxx") > Hallo, > > I've done several file-includes with include("./xxxxx.xxx"); but it > works not always. It workes for a month or so, and then I get the > Warning: Failed opening './xxxxx.xxx' for inclusion (include > path.............). > > Does anybody know something about this? I work on NT-SP6a, IIS 4, and > PHP4.03pl1 (ISAPI). > > Many thanks in advance, > Thomas > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.windows (#4411) next »