note 93885 deleted from function.checkdnsrr by danbrown
| From: | danbrown@php.net | Date: | Wed, 14 Oct 2009 04:21:27 +0000 |
| Subject: | note 93885 deleted from function.checkdnsrr by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-161712@lists.php.net to get a copy of this message | ||
Note Submitter: felix dot e dot urbina at gmail dot com
----
<?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;
}
?>