If I have :
domainA.com/out.php :
<?php
header('location: http://domainB.com/');
?>
Is it possible to get url : domainB.com
and it's IP Address
, with domanA.com/out.php
from domainC.com
?
What I want :
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
?>