Copy code The code is as follows:
//Get the domain name or host address
echo $_SERVER[ 'HTTP_HOST']."
";
//Get the web address
echo $_SERVER['PHP_SELF']."
";
//Get the URL parameters
echo $_SERVER["QUERY_STRING"]."
";
//Detailed address of the source webpage
echo $_SERVER['HTTP_REFERER']."
";
?> ;
http://www.bkjia.com/PHPjc/319846.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/319846.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...