Mostrar lista de opciones

getallheaders()

« get_required_files | getcwd »
<?php
$array 
getallheaders ();
?>
Resultado
$array = [
  
'Remote-Ip' => '3.12.162.179',
  
'X-Iplb-Unique-Id' => '030CA2B3:3C69_D5BA2113:0050_6629D359_78AE:1B4D',
  
'Remote-Port' => '15465',
  
'Forwarded' => 'for=3.12.162.179; proto=http; host=micmap.org',
  
'X-Remote-Proto' => 'http',
  
'X-Remote-Ip' => '3.12.162.179',
  
'X-Remote-Port' => '15465',
  
'X-Forwarded-Port' => '80',
  
'User-Agent' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
  
'Accept' => '*/*',
  
'X-Ovhrequest-Id' => '86e4b8626e9dfa6c3e489d53506af0f6',
  
'X-Forwarded-Proto' => 'http',
  
'X-Forwarded-For' => '3.12.162.179',
  
'X-Predictor' => '1',
  
'Host' => 'micmap.org',
]
Ejemplos
#1 getallheaders  ()