Copy code The code is as follows:
//Get the domain name or host address
echo $_SERVER['HTTP_HOST']."
";
//Get the web page address
echo $_SERVER['PHP_SELF']."
";
//Get the URL parameters
echo $_SERVER["QUERY_STRING"]."
";
//The detailed address of the source webpage
echo $_SERVER['HTTP_REFERER']."
";
?>
http://www.bkjia.com/PHPjc/319669.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/319669.htmlTechArticleCopy the code as follows: ?php //Get the domain name or host address echo $_SERVER['HTTP_HOST']." br"; //Get the web address echo $_SERVER['PHP_SELF']."br"; //Get the URL parameters echo $_SERV...