私が持っている場合:
domainA.com/out.php :
<?php
header('location: http://domainB.com/');
?>
fromdomainB.com
でurl : を取得することは可能IP Address
ですか?domanA.com/out.php
domainC.com
私が欲しいもの:
domainA.com/index.php
<?php
$data = getUrlandIp("domainA.com/out.php");
echo $data[0]; # wanted output (URL) : domainB.com
echo $data[1]; # wanted output (IP) : 133.133.133.133
?>