gloomylight wrote in php

If $variable contains....

Can someone help me out with a spam protection?
How do I make a query like this:
if $blahblah CONTAINS (http:// || www. || something) { do something }

So, it's not an exact match, but something that matches anything of the submitted text. It's for a spam protection in a MySQL Guestbook, if that helps...

Thnx! :)