note 14001 added to function.require.php
| From: | jasonNOSPAM at tekscodeNOSPAM dot com | Date: | Thu, 12 Jul 2001 21:22:27 +0000 |
| Subject: | note 14001 added to function.require.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-15300@lists.php.net to get a copy of this message | ||
After tirelessly looking for a better solution to the directory/include problems, I have found the
following to be useful for included include files (or require):
include(dirname(__FILE__) . '/' . 'whatever.php');
http://www.php.net/manual/en/function.require.php