色尼玛亚洲综合影院,亚洲3atv精品一区二区三区,麻豆freexxxx性91精品,欧美在线91

PHP腳本中include文件出錯解決方法

1. 出現“未找到文件“類似的錯誤時候,檢查include文件的位置是否正確,下面引用php手冊頁面的原話:
Files for including are first looked in include_path relative to the current working directory and then in the directory of the current script. E.g. if your include_path is libraries, 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/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. 當出現permission deny 類似錯誤的時候,按以下方法排除
a) 檢測被包含的文件讀權限是否打開
b) 檢測被包含的文件路徑上的每個目錄的x權限是否打開,該權限決定了目錄能否被瀏覽。

php技術PHP腳本中include文件出錯解決方法,轉載需保留來源!

鄭重聲明:本文版權歸原作者所有,轉載文章僅為傳播更多信息之目的,如作者信息標記有誤,請第一時間聯系我們修改或刪除,多謝。

主站蜘蛛池模板: 乌兰察布市| 万安县| 新乡市| 龙南县| 宁安市| 清水县| 宜春市| 泸定县| 垣曲县| 犍为县| 图木舒克市| 安乡县| 夏邑县| 雅江县| 白朗县| 台中县| 新宾| 黔西县| 梅州市| 井冈山市| 磐石市| 炉霍县| 靖江市| 禄劝| 娄底市| 建宁县| 镇雄县| 盐城市| 莱芜市| 青河县| 偃师市| 和静县| 云霄县| 盈江县| 宽甸| 呼伦贝尔市| 道真| 玉环县| 阿勒泰市| 哈巴河县| 镶黄旗|