環境変数(environment variable)

項目 取得内容 PHP変数
日時 2024-07-18 PM 20:09:42 echo date()
IP アドレス 162.158.79.161 $_SERVER['REMOTE_ADDR']
ホスト名 162.158.79.161 $_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 10906 REMOTE_PORT
Protocol Ver HTTP/1.1 SERVER_PROTOCOL