note 93885 modified in function.checkdnsrr by danbrown
| From: | danbrown@php.net | Date: | Mon, 05 Oct 2009 14:29:50 +0000 |
| Subject: | note 93885 modified in function.checkdnsrr by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-161354@lists.php.net to get a copy of this message | ||
<?php
//This will not work
if(checkdnsrr("round-robin.example.com"),"ALL")){
// ^----------------- I think not functions
return true;
}else{
return false;
}
//But every value other than "ANY" will work
if(checkdnsrr("round-robin.example.com"),"A")){
// ^----------------- I think not functions
return true;
}else{
return false;
}
?>
--was--
<?php
//This will not work
if(checkdnsrr("round-robin-example.com"),"ALL")){
^----------------- I think not
functions
return true;
}else{
return false;
}
//But every value other than "ANY" will work
if(checkdnsrr("round-robin-example.com"),"A")){
^----------------- I think not
functions
return true;
}else{
return false;
}
?>
http://php.net/manual/en/function.checkdnsrr.php