用這個require_once '../include.php';驗證碼不出來。用這個可以require_once '../lib/images.func.php';
用這個require_once '../include.php';驗證碼不出來。
用這個可以require_once '../lib/images.func.php';
include.php 文件代碼
<?php?
session_start();
define("ROOT",dirname(__FILE__));//_FILE_文件路徑 driname返回文件目錄
set_include_path(".".PATH_SEPARATOR.ROOT."/lib".PATH_SEPARATOR.ROOT."/core".PATH_SEPARATOR.ROOT."/configs".PATH_SEPARATOR.get_include_path());
require_once 'images.func.php';
2016-05-30
也是同樣 問題require_once “../include.php”,總是不成功,一直沒搞好!?。。?!
2016-02-19
我打印set_include_path的結果是.;C:\php\pear,然后我覺得是配置的問題去修改php.ini,還是不行呢?同問
2016-01-15
同問啊
2015-11-23
include.php 是沒問題的,錯誤是在images.func.php 里
2015-11-02
同問啊