note 63818 added to function.include
| From: | hussainsaif76 at hotmail dot com | Date: | Fri, 31 Mar 2006 20:26:39 +0000 |
| Subject: | note 63818 added to function.include | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-107099@lists.php.net to get a copy of this message | ||
"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."
whats the command or way to directly access relative current directoy if i define full path of the
file like include('www/include/a.php');
----
Server IP: 64.71.164.2
Probable Submitter: 216.236.98.101 (proxied: 1.1 SERVER2)
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.include.php
Edit -- http://master.php.net/note/edit/63818
Del: integrated -- http://master.php.net/note/delete/63818/integrated
Del: useless -- http://master.php.net/note/delete/63818/useless
Del: bad code -- http://master.php.net/note/delete/63818/bad+code
Del: spam -- http://master.php.net/note/delete/63818/spam
Del: non-english -- http://master.php.net/note/delete/63818/non-english
Del: in docs -- http://master.php.net/note/delete/63818/in+docs
Del: other reasons-- http://master.php.net/note/delete/63818
Reject -- http://master.php.net/note/reject/63818
Search -- http://master.php.net/manage/user-notes.php