Afficher la liste déroulante

getallheaders()

« get_required_files | getcwd »
<?php
$array 
getallheaders ();
?>
Résultat
$array = [
  
'Remote-Ip' => '18.222.184.122',
  
'X-Iplb-Unique-Id' => '12DEB87A:843D_D5BA2113:0050_6649277B_34B18:0C69',
  
'Remote-Port' => '33853',
  
'Forwarded' => 'for=18.222.184.122; proto=http; host=micmap.org',
  
'X-Remote-Proto' => 'http',
  
'X-Remote-Ip' => '18.222.184.122',
  
'X-Remote-Port' => '33853',
  
'X-Forwarded-Port' => '80',
  
'Accept-Encoding' => 'gzip, br, zstd, deflate',
  
'User-Agent' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
  
'Accept' => '*/*',
  
'X-Ovhrequest-Id' => 'cbb8dab6ddfdee5af1c20da986111de0',
  
'X-Forwarded-Proto' => 'http',
  
'X-Forwarded-For' => '18.222.184.122',
  
'X-Predictor' => '1',
  
'Cookie' => 'search_method=input',
  
'Host' => 'micmap.org',
]
Exemples
#1 getallheaders  ()