note 14762 added to function.include.php
| From: | tbcroftNOSPAM at ucalgary dot ca | Date: | Mon, 13 Aug 2001 22:30:08 +0000 |
| Subject: | note 14762 added to function.include.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-16667@lists.php.net to get a copy of this message | ||
About the problem if file a.php includes b.php that includes c.php. Here's what to do:
a.php:
include('path/to/b.php');
b.php:
include(dirname(__FILE__).'path/to/c.php');
http://www.php.net/manual/en/function.include.php