Like the title
Use the apache_request_headers function to obtain, such as
$headers = apache_request_headers(); foreach ($headers as $header => $value) { echo "$header: $value <br />\n"; } 获取到的信息就是 Accept: */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 Host: www.example.com Connection: Keep-Alive
Use the apache_request_headers function to obtain, such as