老師,我在admin下建立getVerify.php中間的包含文件寫為include.php就不能顯示,如果是../lib/image.func.php 就可以正常顯示了,是什么錯誤呢^_^
getVerify.php <?php require_once '../lib/image.func.php'; verifyImages(); include.php <?php 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 'common.func.php'; require_once 'image.func.php'; require_once 'mysql.func.php'; require_once 'page.func.php'; require_once 'string.func.php'; require_once 'upload.func.php';
2014-09-22
肯定是你包含文件中有輸出信息了,所以圖片才沒有顯示,你檢查下^-^...
2014-09-22