Detailed description of php $_SERVER Language Notes PHP
$_SERVER['SCRIPT_NAME'] //当前脚本的路径dirname($_SERVER['SCRIPT_NAME'] // dirname() returns the directory portion of a path; $_SERVER['SCRIPT_FILENAME'] // The absolute path of the currently executing script...