required include不显示,required具体的函数文件却显示,为什么?
分别是getVerify.php login.php image.func.php
<?php // require_once 'include.php'; require_once '../lib/string.func.php'; require_once '../lib/image.func.php'; verifyImage();
getVerify.php为这样时,三者皆可显示,而只包含include时,只有image.func.php能显示验证码,其余2个页面都是一个×
<?php session_start(); define("ROOT",dirname(_FILE_)); set_include_path("".PATH_SEPARATOR.ROOT."./lib".PATH_SEPARATOR.ROOT."./core".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';
我的Include.php