title: How to find IP address of redirecting server in php
body: <p>I have two <code>servers A and B</code>. User accesses some page on <code>server A</code> and <code>server A</code> sends redirection <code>(302 status code)</code> and returns. now client sends the request to <code>server B</code>.  So now what I want is some way to find the ip address of the server A from this request, any identity of server A will do the work, <code>$_SERVER['HTTP_REFERER']</code> is coming blank.</p>
  
  <p><strong>PS: I have control on Server B only not on A.
  Also if I access the page of server A directly (which is sending redirect to Server B) I am getting blank referer at server B.</strong></p>
  
  <p>Thanks in advance</p>