Alter the getmxrr() test to use lists.php.net (which we presumably control)

instead of ez.no (which we presumably don't) for the single MX record test.
This commit is contained in:
Adam Harvey 2010-05-04 09:41:47 +00:00
parent fdf0395e49
commit e0e0147003

View File

@ -8,7 +8,7 @@ if (substr(PHP_OS, 0, 3) == 'WIN') {
?>
--FILE--
<?php
$domains = array( 'php.net', 'ez.no' );
$domains = array( 'php.net', 'lists.php.net' );
foreach ( $domains as $domain )
{
if ( getmxrr( $domain, $hosts, $weights ) )