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...
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn