PHP » GoLang |
login |
register |
about
|
GoLang apache_request_headers
request it (453)
GoLang replacement for PHP's apache_request_headers
[edit | history]
apache_request_headers(PHP 4 >= 4.3.0, PHP 5, PHP 7) apache_request_headers — Fetch all HTTP request headers Description
array apache_request_headers
( void
)
Fetches all HTTP request headers from the current request. Return Values
An associative array of all the HTTP headers in the current request, or
Changelog
Examples
Example #1 apache_request_headers() example
<?php The above example will output something similar to: Accept: */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 Host: www.example.com Connection: Keep-Alive Notes
|
more
Recently updated
more
Most requested
more
Last requests
|