复制代码 代码如下:
//获取域名或主机地址
echo $_SERVER['HTTP_HOST']."
";
//获取网页地址
echo $_SERVER['PHP_SELF']."
";
//获取网址参数
echo $_SERVER["QUERY_STRING"]."
";
//来源网页的详细地址
echo $_SERVER['HTTP_REFERER']."
";
?>
http://www.bkjia.com/PHPjc/319669.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/319669.htmlTechArticle复制代码 代码如下: ?php //获取域名或主机地址 echo $_SERVER['HTTP_HOST']."br"; //获取网页地址 echo $_SERVER['PHP_SELF']."br"; //获取网址参数 echo $_SERV...