文件目录:
header.php文件内容:
index.php文件内容:
访问路径:http://localhost:88/www/pathsTest/index.php/backend/site?a=1&b=2
浏览器显示结果:
PHP路径常量和函数解释
原文:http://www.cnblogs.com/heke-share-space/p/3521258.html