Re: Sometimes problems with include("./xxxxx.xxx")
| From: | Cynic | Date: | Wed, 20 Dec 2000 21:03:20 +0000 |
| Subject: | Re: Sometimes problems with include("./xxxxx.xxx") | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-4562@lists.php.net to get a copy of this message | ||
BTW, $GLOBALS[DOCUMENT_ROOT] isn't perfectly legal. If you had
error_reporting set to E_ALL, you'd get a warning;
undefined constant DOCUMENT_ROOT, assuming 'DOCUMENT_ROOT' or such.
At 20:07 10.12. 2000, Mitesh Patel wrote the following:
--------------------------------------------------------------
>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
>>
>>
>
>
>--
>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
------end of quote------
____________________________________________________________
Cynic:
A member of a group of ancient Greek philosophers who taught
that virtue constitutes happiness and that self control is
the essential part of virtue.
cynic@mail.cz