Trampoline Systems

* Trampoline Description Here

Trampoline Systems

* Trampoline Description Here


Content

Machines

Ideas, thoughts and observations from Trampoline's technical brains

jan

No comments!

By Jan Berkel on 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;
}

Leave a comment