看官方文档: http://php.net/manual/zh/function.apache-request-headers.php http://php.net/manual/zh/function.get-headers.php