Upload code
This commit is contained in:
12
engline/token/headers.function.php
Normal file
12
engline/token/headers.function.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?
|
||||
function getallheaders ()
|
||||
{
|
||||
$headers = array();
|
||||
foreach ($_SERVER as $h => $v)
|
||||
{
|
||||
if (preg_match_all('/HTTP_(.+)/', $h, $hp))
|
||||
$headers[$hp[1][0]] = $v;
|
||||
}
|
||||
return $headers;
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user