显示文本框

getallheaders()

« get_required_files | getcwd »
<?php
$array 
getallheaders ();
?>
结果
$array = [
  
'Remote-Ip' => '18.188.20.56',
  
'X-Iplb-Unique-Id' => '12BC1438:B7E2_D5BA2113:0050_6628EFEC_248A3:6A45',
  
'Remote-Port' => '47074',
  
'Forwarded' => 'for=18.188.20.56; proto=http; host=micmap.org',
  
'X-Remote-Proto' => 'http',
  
'X-Remote-Ip' => '18.188.20.56',
  
'X-Remote-Port' => '47074',
  
'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' => '5b6ea6cf6a71daa930b60594153f3cad',
  
'X-Forwarded-Proto' => 'http',
  
'X-Forwarded-For' => '18.188.20.56',
  
'X-Predictor' => '1',
  
'Host' => 'micmap.org',
]
示例
#1 getallheaders  ()