note 93599 added to reserved.variables.server
| From: | steve at sc-fa dot com | Date: | Thu, 17 Sep 2009 19:20:49 +0000 |
| Subject: | note 93599 added to reserved.variables.server | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-160804@lists.php.net to get a copy of this message | ||
If you are serving from behind a proxy server, you will almost certainly save time by looking at
what these $_SERVER variables do on your machine behind the proxy.
$_SERVER['HTTP_X_FORWARDED_FOR'] in place of $_SERVER['REMOTE_ADDR']
$_SERVER['HTTP_X_FORWARDED_HOST'] and
$_SERVER['HTTP_X_FORWARDED_SERVER'] in place of (at least in our case,)
$_SERVER['SERVER_NAME']
----
Server IP: 64.71.164.2
Probable Submitter: 17.220.22.95
----
Manual Page -- http://www.php.net/manual/en/reserved.variables.server.php
Edit -- https://master.php.net/note/edit/93599
Del: integrated -- https://master.php.net/note/delete/93599/integrated
Del: useless -- https://master.php.net/note/delete/93599/useless
Del: bad code -- https://master.php.net/note/delete/93599/bad+code
Del: spam -- https://master.php.net/note/delete/93599/spam
Del: non-english -- https://master.php.net/note/delete/93599/non-english
Del: in docs -- https://master.php.net/note/delete/93599/in+docs
Del: other reasons-- https://master.php.net/note/delete/93599
Reject -- https://master.php.net/note/reject/93599
Search -- https://master.php.net/manage/user-notes.php