title: Finding IP address of client connected through a proxy
body: <p>Is there a way to collect the IP address of a client connected to your website through a proxy server?</p>
  
  <p>The entire setup is an internal LAN and through the sysadmin, I have control over the proxy machine as well. I am using PHP5 for the website server side.</p>
  
  <p>I tried <code>$_SERVER['REMOTE_ADDR']</code> in PHP but this variable just stores the IP address of the proxy.</p>
  
  <p>Any ideas?</p>