note 59165 deleted from function.include by betz
| From: | betz@php.net | Date: | Mon, 28 Nov 2005 10:00:33 +0000 |
| Subject: | note 59165 deleted from function.include by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-99229@lists.php.net to get a copy of this message | ||
Note Submitter: donynam at hotmail dot com
Reason: useless
----
Some of our friends complain about the include function cannot run normally when a file which they
included has another include function inside. For example,
A.php ( path: /Dir_t1/Dir_t2 )
-------
include ('../../Dir_t3/Dir_t4/B.php');
B.php ( path: /Dir_t3/Dir_t4 )
-------
include ('../../C.php');
include ('../../Common/PHP/D.php');
However when I try include_once out, it seems work. For example:
A.php ( path: /Dir_t1/Dir_t2 )
-------
include ('../../Dir_t3/Dir_t4/B.php');
B.php ( path: /Dir_t3/Dir_t4 )
-------
include_once ('../../C.php');
include_once ('../../Common/PHP/D.php');