Показать выпадающий список

getallheaders()

« get_required_files | getcwd »
<?php
$array 
getallheaders ();
?>
Результат
$array = [
  
'Remote-Ip' => '18.119.213.235',
  
'X-Iplb-Unique-Id' => '1277D5EB:406B_D5BA2113:0050_662335BA_1DDE5:6669',
  
'Remote-Port' => '16491',
  
'Forwarded' => 'for=18.119.213.235; proto=http; host=micmap.org',
  
'X-Remote-Proto' => 'http',
  
'X-Remote-Ip' => '18.119.213.235',
  
'X-Remote-Port' => '16491',
  
'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' => '6042e34f17b0f89be45c2ff79dd58b28',
  
'X-Forwarded-Proto' => 'http',
  
'X-Forwarded-For' => '18.119.213.235',
  
'X-Predictor' => '1',
  
'Host' => 'micmap.org',
]
Примеры
#1 getallheaders  ()