getallheaders — Fetch all HTTP request headers
Example
array getallheaders ( void )
Example
<?php
foreach (getallheaders() as $name => $value) {
echo "$name: $value\n";
}
?>
No comments