分类:
2008-04-18 09:15:14
$array = array(
"remote_addr",
"document_root",
"gateway_interface",
"server_software",
"server_name",
"server_protocol",
"server_port",
"server_admin",
"server_signature",
"request_method",
"request_uri",
"path_info",
"path_translated",
"script_name",
"script_filename",
"query_string",
"remote_host",
"remote_addr",
"remote_user",
"remote_ident",
"content_type",
"content_length",
"http_accept",
"http_accept_charset",
"http_accept_language",
"http_encoding",
"http_user_agent",
"http_connection",
"http_host",
"http_referer",
"auth_type"
);
echo
name | value |
---|---|
$array[$i] | " . $value . " |
$array[$i] | " . $$array[$i] . " |