I have a site which relies on getmxrr to validate email domains. It's been working fine for ages. I have just discovered that when the domain name is "tiscali.co.uk" getmxrr doesn't work. Worse still, the whole site hangs. Whilst locating the problem I ended up with a script that couldn't be simpler but which doesn't work for the tiscali domain name.
<?
echo(getmxrr("tiscali.co.uk", $temp) . "<br/>");
print_r($temp);
?>
Has anyone got any ideas? Is there anyway to test it's not going to hang before running it?
Thanks
php 4.4.2 Linux Apache