Echo ' website root directory Address: '. __root__. ' <br/> ';
Echo ' current project (entry file) address: '. __app__. ' <br/> ';
Echo ' Current group address: '. __group__. ' <br/> ';
Echo ' Current module address: '. __url__. ' <br/> ';
Echo ' Current operating address: '. __action__. ' <br/> ';
Echo ' Current URL address: '. __self__. ' <br/> ';
Echo ' current operation name: '. Action_name. ' <br/> ';
Echo ' current project directory: '. App_path. ' <br/> ';
Echo ' current project name: '. App_name. ' <br/> ';
Three of the circled cannot be acquired;
echo $_server["Request_scheme"]. ':/ /'. $_server["SERVER_NAME"]. ': '. $_server[' Server_port '].$_server["Request_uri"];
Results (Template page): http://localhost:80/ackonphp/index/loginOut.html
Result (name of operation): Http://localhost:80/ackonphp/home/index/testconn
echo $_server[' Http_host ']. ' <br/> ';
echo $_server[' Script_name ']. ' <br/> ';
echo $_server[' Path_info ']. ' <br/> ';
echo $_server[' query_string ']. ' <br/> ';
echo $_server[' php_self ']. ' <br/> ';
$_server[' query_string '] is invalid;
002thinkphp Get project information