note 59387 deleted from function.require-once by cmb
| From: | cmb@php.net | Date: | Wed, 02 Sep 2015 15:21:49 +0000 |
| Subject: | note 59387 deleted from function.require-once by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-203570@lists.php.net to get a copy of this message | ||
Note Submitter: sdh00b at gmail dot com
----
@georg_gruber at yahoo dot com
Files for including are first looked in include_path relative to the current working directory and
then in include_path relative to the directory of current script. E.g. if your include_path is .,
current working directory is /www/, you included include/a.php and there is include
"b.php" in that file, b.php is first looked in /www/ and then in /www/include/. If
filename begins with ./ or ../, it is looked only in include_path relative to the current working
directory.
Taken from http://us2.php.net/manual/en/function.include.php