note 71686 added to function.checkdnsrr

From: Date: Tue, 12 Dec 2006 00:06:52 +0000
Subject: note 71686 added to function.checkdnsrr
Groups: php.notes 
Request: Send a blank email to php-notes+get-120522@lists.php.net to get a copy of this message
<?php function check_dnsbl($ip) { $dnsbl_check=array("bl.spamcop.net","list.dsbl.org", "sbl.spamhaus.org",'xbl.spamhaus.org'); if($ip){ $rip=implode('.',array_reverse(explode(".",$ip))); foreach($dnsbl_check as $val){ if(checkdnsrr($rip.'.'.$val.'.','A')) return $rip.'.'.$val; } } return false; } ?> ---- Server IP: 195.222.164.18 Probable Submitter: 83.167.96.62 ---- Manual Page -- http://www.php.net/manual/en/function.checkdnsrr.php Edit -- https://master.php.net/note/edit/71686 Del: integrated -- https://master.php.net/note/delete/71686/integrated Del: useless -- https://master.php.net/note/delete/71686/useless Del: bad code -- https://master.php.net/note/delete/71686/bad+code Del: spam -- https://master.php.net/note/delete/71686/spam Del: non-english -- https://master.php.net/note/delete/71686/non-english Del: in docs -- https://master.php.net/note/delete/71686/in+docs Del: other reasons-- https://master.php.net/note/delete/71686 Reject -- https://master.php.net/note/reject/71686 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#120522) next »