|
PHP5中文手册
apache_request_headers(PHP 4 >= 4.3.0, PHP 5) apache_request_headers — Fetch all HTTP request headers 说明
array apache_request_headers
( void
)
Fetches all HTTP requests from the current request. 此函数仅在 PHP 作为 Apache 模块安装时才可使用。 返回值An associative array of all the HTTP headers in the current request, or FALSE on failure. 范例
Example#1 apache_request_headers() example
<?php 上例的输出类似于:
注释
|