note 113197 added to function.include
| From: | ethantsien at gmail dot com | Date: | Wed, 11 Sep 2013 12:08:33 +0000 |
| Subject: | note 113197 added to function.include | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-196230@lists.php.net to get a copy of this message | ||
"Files are included based on the file path given or, if none is given, the include_path
specified. If the file isn't found in the include_path, include will finally check in the
calling script's own directory and the current working directory before failing. "
i strace some php code, i think the first step is searching the current working directory , then
include path, the final is the calling script's own directory
----
Server IP: 220.181.129.130
Probable Submitter: 218.4.127.202
----
Manual Page -- http://php.net/manual/en/function.include.php
Edit -- https://master.php.net/note/edit/113197
Del: integrated -- https://master.php.net/note/delete/113197/integrated
Del: useless -- https://master.php.net/note/delete/113197/useless
Del: bad code -- https://master.php.net/note/delete/113197/bad+code
Del: spam -- https://master.php.net/note/delete/113197/spam
Del: non-english -- https://master.php.net/note/delete/113197/non-english
Del: in docs -- https://master.php.net/note/delete/113197/in+docs
Del: other reasons-- https://master.php.net/note/delete/113197
Reject -- https://master.php.net/note/reject/113197
Search -- https://master.php.net/manage/user-notes.php