老师,我在admin下建立getVerify.php中间的包含文件写为include.php就不能显示,如果是../lib/image.func.php 就可以正常显示了,是什么错误呢^_^
include.php <?php header("content-type:text/html;charset=utf-8"); date_default_timezone_set("PRC"); session_start(); define("ROOT",dirname(__FILE__)); set_include_path(".".PATH_SEPARATOR.ROOT."/lib".PATH_SEPARATOR.ROOT."/core".PATH_SEPARATOR.ROOT."/configs".PATH_SEPARATOR.get_include_path()); require_once 'mysql.func.php'; require_once 'image.func.php'; require_once 'common.func.php'; require_once 'string.func.php'; require_once 'page.func.php'; require_once "configs.php"; require_once 'admin.inc.php'; require_once 'cate.inc.php'; require_once 'pro.inc.php'; require_once 'album.inc.php'; require_once 'upload.func.php'; require_once 'user.inc.php'; connect(); ?> getVerify.php <?php require_once '../include.php'; //require_once '../lib/image.func.php'; verifyImage(); ?>