However, this function can only be used in the apache environment. It is not supported by iis or nginx. It can be implemented through a custom function.
and check it Output the results.
to get the result: Array ( [Accept] => */* [Accept-Language] => zh-cn [Accept-Encoding] => gzip, deflate [User-Agent] => Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727) [Host] => localhost [Connection] => Keep-Alive ) |