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

« PHP client for asp.net... || php and xml »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home