简体   繁体   中英

How to find IP address of redirecting server in php

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

您无法获取引荐来源网址的IP(即发起重定向到您服务器的服务器)。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM