1. When an error like "File not Found" appears, check that the include file is in the correct location, referring to the following quote from the PHP manual page:
Files for including is first looked in include_path relative to the current working directory and then in the directory O f the current script. e.g. if your include_path is libraries, current working directory is/www/, you included include/a.php and there are includ E "b.php" in this file, b.php is first looked in/www/libraries/and then in/www/include/. If filename begins with./or. /, it is looked only in include_path relative to the current working directory.
2. When a permission deny similar error occurs, the following method is used to exclude
A) detect if the included file Read permission is open
b) detects if the X permission on each directory on the included file path is open, which determines whether the directory can be browsed.
http://www.bkjia.com/PHPjc/319762.html www.bkjia.com true http://www.bkjia.com/PHPjc/319762.html techarticle 1. When an error like "File not Found" appears, check that the include file is in the correct location, refer to the following quote from the PHP manual page: Files for including is first looked in incl ...