$_SERVER[‘REQUEST_SCHEME‘] . ‘://‘ . $_SERVER[‘HTTP_HOST‘].$_SERVER[‘REQUEST_URI‘]
PHP获取当前网址路径
原文:https://www.cnblogs.com/init-007/p/11073143.html