I have two servers A and B
. User accesses some page on server A
and server A
sends redirection (302 status code)
and returns. now client sends the request to server B
. 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, $_SERVER['HTTP_REFERER']
is coming blank.
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.
Thanks in advance
You cannot get the IP of the referrer (i.e. the server that initiated the redirect to your server).