Blog

No comments!

By jan | Friday, December 1st, 2006

Apologies to everyone who tried to leave a comment on this weblog: commenting has been broken for quite a while, but we’ve only realised just now. It was due to a bug in the otherwise excellent web publishing system Symphony. I’ve spent an hour trying to figure out why all comments got detected as spam. Can you spot the bug ? Please comment :)


function __isBlackListed($author_ip){
if(is_array($current_blacklist) && !empty($current_blacklist)) {
foreach($current_blacklist as $ip){
if(preg_match('/^'.$author_ip.'/i', $author_ip)) return true;
}
}
return false;
}

This entry was posted on Friday, December 1st, 2006 at 8:26 am and is filed under Coding. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.


Leave a Reply



New York Office
234 5th Avenue, 4th Floor
New York, NY
10001, USA

London Office
The Trampery
8-15 Dereham Place
London EC2A 3HJ
United Kingdom