php中include,require的文件包含问题,以及$_SERVER['PHP_SELF']和__FILE__的区别
include,require的文件包含是以当前工作目录寻找,也就是把当前文件作为参照.例如文件的多层包含问题就会容易出错。eg:“smarty_test/system/system.inc.php”;"smarty_test/smarty/smarty.class.php";"smarty_test/index.php";在system.inc.php中有代码:include"../smarty