すべてのサーバ変数

UNIQUE_ID: Yeu0ULLHTYbOj1FrqFLOWAAAAAI
HTTPS: on
SSL_TLS_SNI: oku.edu.mie-u.ac.jp
SSL_SERVER_S_DN_CN: oku.edu.mie-u.ac.jp
SSL_SERVER_I_DN_C: US
SSL_SERVER_I_DN_O: Let's Encrypt
SSL_SERVER_I_DN_CN: R3
SSL_SERVER_SAN_DNS_0: oku.edu.mie-u.ac.jp
SSL_VERSION_INTERFACE: mod_ssl/2.4.6
SSL_VERSION_LIBRARY: OpenSSL/1.0.2k-fips
SSL_PROTOCOL: TLSv1.2
SSL_SECURE_RENEG: true
SSL_COMPRESS_METHOD: NULL
SSL_CIPHER: ECDHE-RSA-AES256-GCM-SHA384
SSL_CIPHER_EXPORT: false
SSL_CIPHER_USEKEYSIZE: 256
SSL_CIPHER_ALGKEYSIZE: 256
SSL_CLIENT_VERIFY: NONE
SSL_SERVER_M_VERSION: 3
SSL_SERVER_M_SERIAL: 041B3BE140D7D35FD1F21103C7BC31DBB61A
SSL_SERVER_V_START: Jan 11 07:15:22 2022 GMT
SSL_SERVER_V_END: Apr 11 07:15:21 2022 GMT
SSL_SERVER_S_DN: CN=oku.edu.mie-u.ac.jp
SSL_SERVER_I_DN: CN=R3,O=Let's Encrypt,C=US
SSL_SERVER_A_KEY: rsaEncryption
SSL_SERVER_A_SIG: sha256WithRSAEncryption
SSL_SESSION_ID: a364483ecb22d09cfa857b5d312a1417e4a36b9a96b56cf7541260ca9c33a8e8
SSL_SESSION_RESUMED: Initial
HTTP_USER_AGENT: CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.5
HTTP_ACCEPT_ENCODING: br,gzip
HTTP_HOST: oku.edu.mie-u.ac.jp
HTTP_CONNECTION: Keep-Alive
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
SERVER_SIGNATURE: 
SERVER_SOFTWARE: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 PHP/5.4.16 SVN/1.7.14
SERVER_NAME: oku.edu.mie-u.ac.jp
SERVER_ADDR: 133.67.87.218
SERVER_PORT: 443
REMOTE_ADDR: 54.224.117.125
DOCUMENT_ROOT: /var/www/html
REQUEST_SCHEME: https
CONTEXT_PREFIX: /~okumura
CONTEXT_DOCUMENT_ROOT: /home/okumura/public_html
SERVER_ADMIN: okumura@edu.mie-u.ac.jp
SCRIPT_FILENAME: /home/okumura/public_html/php/allenv.php
REMOTE_PORT: 33860
GATEWAY_INTERFACE: CGI/1.1
SERVER_PROTOCOL: HTTP/1.1
REQUEST_METHOD: GET
QUERY_STRING: 
REQUEST_URI: /~okumura/php/allenv.php
SCRIPT_NAME: /~okumura/php/allenv.php
PHP_SELF: /~okumura/php/allenv.php
REQUEST_TIME_FLOAT: 1642837072.884
REQUEST_TIME: 1642837072

ソース

<pre>
<?php
  foreach ($_SERVER as $x => $y) {
    echo htmlspecialchars("$x: $y\n");
  }
?>
</pre>

奥村晴彦

Last modified: 2012-04-18 15:40:06