note 59387 added to function.require-once
| From: | sdh00b at gmail dot com | Date: | Mon, 05 Dec 2005 15:12:19 +0000 |
| Subject: | note 59387 added to function.require-once | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-99593@lists.php.net to get a copy of this message | ||
@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
----
Manual Page -- http://www.php.net/manual/en/function.require-once.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+59387
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+59387&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+59387&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+59387&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+59387&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+59387&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+59387&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+59387&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+59387&report=yes
Search -- http://master.php.net/manage/user-notes.php