View: How to check an IP address against blacklists using PHP

  1. 6 months ago by spirit
    1. function isBlacklisted($ip){
    2.      $check = join('.',array_reverse(explode('.',$ip))).'.xbl.spamhaus.org.';
    3.      return dns_check_record($check,'A');
    4. }

0 comment about "How to check an IP address against blacklists using PHP"