#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2014
    Posts
    4
    Rep Power
    0

    How to ban the string http?


    Hello

    I am using fast secure contact form for my website. I am getting a lot of spam recently.

    in the back end of fast secure contact form, I can have a regex for every field like the name field, the phone number field, and the message field.

    I noticed all the spam messages contain a link in the message field. So if I ban the sequence http that should stop all the spam.

    What regex can I use so that if the message contain http the message is not sent? and I prefer case insensitive so HTTP and Http are also rejected.
  2. #2
  3. Lazy Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    16,394
    Rep Power
    9645
    It will not. They will just change their message to get around your filter.

    Use CAPTCHA.

IMN logo majestic logo threadwatch logo seochat tools logo