duolaa
2015-12-15 15:40
请问老师,$_SERVER['PHP_SELF']返回的是URI,还有什么方式可以获取当前页面的名字吗?
["SERVER_PORT"]=>
string(5) "63342"
["SERVER_ADDR"]=>
string(9) "127.0.0.1"
["SERVER_NAME"]=>
string(15) "PhpStorm 10.0.2"
["SERVER_SOFTWARE"]=>
string(15) "PhpStorm 10.0.2"
["REMOTE_PORT"]=>
string(5) "54581"
["REMOTE_ADDR"]=>
string(9) "127.0.0.1"
["REQUEST_METHOD"]=>
string(3) "GET"
["REQUEST_URI"]=>
string(20) "/EasyPage/mypage.php"
["FCGI_ROLE"]=>
string(9) "RESPONDER"
["PHP_SELF"]=>
string(20) "/EasyPage/mypage.php"
["REQUEST_TIME_FLOAT"]=>
float(1450947561.5371)
["REQUEST_TIME"]=>
int(1450947561)
PHP+MySQL分页原理实现
41180 学习 · 175 问题
相似问题