note 63818 rejected from function.include by tularis

From: Date: Fri, 31 Mar 2006 20:45:10 +0000
Subject: note 63818 rejected from function.include by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-107101@lists.php.net to get a copy of this message
Note Submitter: hussainsaif76 at hotmail 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." 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');

« previous php.notes (#107101) next »