環境変数(environment variable)

項目 取得内容 PHP変数
日時 2024-06-22 AM 02:40:45 echo date()
IP アドレス 172.70.174.57 $_SERVER['REMOTE_ADDR']
ホスト名 172.70.174.57 $_SERVER['REMOTE_HOST']
User Agent CCBot/2.0 (https://commoncrawl.org/faq/) $_SERVER['HTTP_USER_AGENT'];
OS get_browser
Language en-US,en;q=0.5 HTTP_ACCEPT_LANGUAGE
エンコード gzip, br HTTP_ACCEPT_ENCODING
connection Keep-Alive
Port 19974 REMOTE_PORT
Protocol Ver HTTP/1.1 SERVER_PROTOCOL