<?php
header('Content-type: application/json');
session_start();

$headers = apache_request_headers();
$authstr = $_SERVER['HTTP_AUTHORIZATION'];
foreach ($headers as $header => $value){
//   echo "$header: $value <br />\n";
    $_SESSION[$header] = $value;
}
$json = json_encode($headers);
echo $json;
?>

三木
208 声望6 粉丝

不开心,你就跳一跳,😊


引用和评论

0 条评论