Apache と IIS での PHP のスーパーグローバル変数 $_SERVER の内容一覧
2005-11-15-6: [PHP]
- Apache and IIS PHP $_SERVER Superglobal Comparision
http://koivi.com/apache-iis-php-server-array.php
以下の 18 項目は,Apache だろうが IIS だろうが SSL を組み込んであろうが存在しているみたい.
$_SERVER['DOCUMENT_ROOT']
$_SERVER['HTTP_ACCEPT']
$_SERVER['HTTP_ACCEPT_CHARSET']
$_SERVER['HTTP_ACCEPT_ENCODING']
$_SERVER['HTTP_ACCEPT_LANGUAGE']
$_SERVER['HTTP_CONNECTION']
$_SERVER['HTTP_HOST']
$_SERVER['HTTP_KEEP_ALIVE']
$_SERVER['HTTP_USER_AGENT']
$_SERVER['PATH_TRANSLATED']
$_SERVER['PHP_SELF']
$_SERVER['REMOTE_ADDR']
$_SERVER['REQUEST_METHOD']
$_SERVER['SCRIPT_NAME']
$_SERVER['SERVER_NAME']
$_SERVER['SERVER_PORT']
$_SERVER['SERVER_PROTOCOL']
$_SERVER['SERVER_SOFTWARE']
- via: Sooey
http://www.sooey.com/journal/2005/11/10/34/