title: PHP - IP address echoed as 127.0.0.1
body: <p>I'm quite a novice at PHP.</p>
  
  <p>I would like the IP address that I (myself, only. I modified my hosts file for the HotSpot shield webpage) have been given when using HotSpot shield to show up on my webpage, but unfortunately, it's echoed as 127.0.0.1. The main objective is that when I connect, the IP address that I've been set is echoed on the page. This is what code I've used:</p>
  
  <pre><code>&lt;?php $rmt = $_SERVER["REMOTE_ADDR"]; echo "$rmt \n" ?&gt;
  </code></pre>
  
  <p>The only problem is is that $rmt is 127.0.0.1. Do any of you know how to get it to display the public IP address to be displayed?</p>