Find url and get ip address of website after redirect

后端 未结 3 459
一整个雨季
一整个雨季 2020-12-21 06:14

If I have :

domainA.com/out.php :


Is it possible to ge

3条回答
  •  星月不相逢
    2020-12-21 06:27

    I am not sure what you mean by

    from domainC.com?

    but in PHP you can call gethostbyname('domainB.com') which will give you the IP of domainB.com from domainA.com/out.php

提交回复
热议问题