If $variable contains....
Date: 01/26/06
(PHP Community) Keywords: mysql, sql, spam
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! :)
Source: http://community.livejournal.com/php/402335.html