php 获取网址参数

echo "rewrite: ".$_GET["rewrite"];  
echo "
SERVER_PORT: ".$_SERVER["SERVER_PORT"]; echo "
HTTP_HOST: ".$_SERVER["HTTP_HOST"]; echo "
SERVER_NAME: ".$_SERVER["SERVER_NAME"]; echo "
REQUEST_URI: ".$_SERVER["REQUEST_URI"]; echo "
PHP_SELF: ".$_SERVER["PHP_SELF"]; echo "
QUERY_STRING: ".$_SERVER["QUERY_STRING"]; echo "
HTTP_REFERER: ".$_SERVER["HTTP_REFERER"];

 

你可能感兴趣的:(php 获取网址参数)