nsapi_request_headers() - nsapi函数
nsapi_request_headers()
(PHP 4 >= 4.3.3, PHP 5, PHP 7)
Fetch all HTTP request headers
说明
nsapi_request_headers(void): arraynsapi_request_headers() gets all the HTTP headers in the current request. This is only supported when PHP runs as a NSAPI module.
Note:getallheaders() is an alias for nsapi_request_headers() if you use the NSAPI module.Note:
You can also get at the value of the common CGI variables by reading them from the$_SERVERsuperglobal, which works whether or not you are using PHP as a NSAPI module.
返回值
Returns an associative array with all the HTTP headers.
范例
nsapi_request_headers() example
鹏仔微信 15129739599 鹏仔QQ344225443 鹏仔前端 pjxi.com 共享博客 sharedbk.com
图片声明:本站部分配图来自网络。本站只作为美观性配图使用,无任何非法侵犯第三方意图,一切解释权归图片著作权方,本站不承担任何责任。如有恶意碰瓷者,必当奉陪到底严惩不贷!