Blog hacking stuff
Steve Rubel has a useful list of ways to hack your blog. David Krug has a contrarian list to balance things out.
[Scoble]
Nice stuff. Need to look into that.
Discoveries of a Dutch Developer
Steve Rubel has a useful list of ways to hack your blog. David Krug has a contrarian list to balance things out.
[Scoble]
Nice stuff. Need to look into that.
Here's how to check an IP address against standard DNS blacklist servers, for purposes of blocking comment spam and such:
function isBlacklisted($ip){
$check = join('.',array_reverse(explode('.',$ip))).'.xbl.spamhaus.org.';
return dns_check_record($check,'A');
}
?>
dns_check_record is checkdnsrr before PHP 5.