Показать поле ввода

getallheaders()

« get_required_files | getcwd »
<?php
$array 
getallheaders ();
?>
Результат
$array = [
  
'Remote-Ip' => '18.191.174.168',
  
'X-Iplb-Unique-Id' => '12BFAEA8:F71D_D5BA2113:0050_6634615C_30BA1:227B',
  
'Remote-Port' => '63261',
  
'Forwarded' => 'for=18.191.174.168; proto=http; host=micmap.org',
  
'X-Remote-Proto' => 'http',
  
'X-Remote-Ip' => '18.191.174.168',
  
'X-Remote-Port' => '63261',
  
'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' => '63a481e0929f2a012fd3ddb56145a53f',
  
'X-Forwarded-Proto' => 'http',
  
'X-Forwarded-For' => '18.191.174.168',
  
'X-Predictor' => '1',
  
'Host' => 'micmap.org',
]
Примеры
#1 getallheaders  ()