Anti-spam bot code

Hello world

I have the code below in my layout of the retail news. To try to combat the spam-bots I use javascript to insert the action url button to the comment form. This type of code works perfectly well on all other forms on the site, but for some reason, that it will not work on a comment form, it is to say. the action is not be inserted.

Just wonderd if anyone could give me some clues?

Thanks in advance.

< form name = "catratingform2343" onsubmit = "return checkWholeForm2343 (this)" method = "post" >

< div class = "large columns-6" >

< div class = "row collapse" >

< div class = "small-10 columns" >

< input name = "Name" type = placeholder "text" = "Full name" / >

< / div >

< div class = "small-2 columns" > < span class = "suffix RADIUS" > < class em = 'icon - user' > < you /i > < / span > < / div >

< / div >

< div class = "row collapse" >

< div class = "small-10 columns" >

< input name = "website" type = placeholder "text" = "Web Site" / >

< / div >

< div class = "small-2 columns" > < span class = "suffix RADIUS" > < class em = "icon-globe" > < you /i > < / span > < / div >

< / div >

< div class = "row collapse" >

< div class = "small-10 columns" >

< input placeholder = "Email address" type = "text" name = "EmailAddress" / >

< / div >

< div class = "small-2 columns" > < span class = "suffix RADIUS" > < class em = icon "envelope" > < you /i > < / span > < / div >

< / div >

< / div >

< div class = "large columns-6" >

< label >

< textarea class = "cat_listbox_large" name = "Feedback" = "Comment here" placeholder > < / textarea >

< / label >

< label > Enter Word verification in box below {module_captchav2} < / label >

< input class = 'radius of the key' type = "submit" value = "Submit" / >

< / div >

" < script src =" http://AJAX.googleapis.com/AJAX/libs/jQuery/1.7.1/jQuery.min.js "> < / script > .

"< script type =" text/javascript"src="/CatalystScripts/ValidationFunctions.js "> < / script >

< script type = "text/javascript" > / / <! [CDATA]

.on $(«#catratingform2343») ("keypress", function (event) {}

var action = $("#catratingform2343").attr ("action");

If (typeof (action) = 'undefined' | action = null | action = "") {}

var url = "/ RatingProcess.aspx".

var params = '? '. OID = {module_oid} & amp; OTYPE = {module_otype};

$(«#catratingform2343») .attr ('action', url + params);

}

});

function checkWholeForm2343 (theForm) {var why = ""; if (theForm.EmailAddress) if (theForm.EmailAddress.value.length > 0) why += checkEmail (theForm.EmailAddress.value); if (theForm.CaptchaV2) why += isEmpty (theForm.CaptchaV2.value, "Enter Word verification in box below");} If (why! = "") {alert (why); return false ;}; return true ;}}

[]] > < / script >

< / make >

I thnk you forgot the selector on the form id = "catratingform2343".

Tags: Business Catalyst

Similar Questions

  • Make a Contact form anti-spam working

    I can't get this anti-spam .php code works, important note: the coding worked before I added the label/.php anti-spam code. The obvious flaws in the coding?

    HTML:

    < link rel = "stylesheet" href = "css/site-comments-part - two.php" type = "text/css" media = "screen" / >

    < are method = "post" action = "site-comments-part - two.php" >

    < label > name < / label >

    < input name = placeholder 'Name' = 'type here' >

    < label > Email * < / label >

    < input name = "email" type = "email" placeholder = "Type here" >

    < label > suggested Feedback * < / label >

    < name textarea = placeholder "message" = "Type here" > < / textarea >

    < label > what is (20 + 5) / 5? (Anti-spam) * < / label >

    < input name = 'human' placeholder = "type here" >

    < div > < input id = "submit" name = "submit" type = "submit" value = "Submit" > < / div >

    < / make >

    PHP:

    <? PHP

    $name = $_POST ['name'];

    $email = $_POST ['email'];

    $message = $_POST ['message'];

    $from = ' from: Contact form ";

        $to = ' [email protected] ';

    $subject = "site feedback";

    $body = "from: $name\n E-mail: $email\n Message: \n $message";

    If ($_POST ['submit']) {}

    If (& & $human == '5') {}

    If (mail ($subject, $body, $to, $from)) {}

    echo "< p > your message has been sent! < /p > ';

    } else {}

    echo "< p > something went wrong, go back and try again! < /p > ';

    }

    } else {}

    ($_POST ['submit'] & & $human! = '5') {

    echo "< p > you answered the anti-spam question wrong! This means that your message has not been sent < /p > ';

    }

    }

    ? >

    Thanks for the help.

    <>

    $name = $_POST ['name'];

    $email = $_POST ['email'];

    $message = $_POST ['message'];

    $from = ' from: Contact form ";

    $to = ' [email protected]';

    $subject = "site feedback";

    $body = "from: $name\n E-mail: $email\n Message: \n $message";

    {if (isset($_POST['submit']))}

    If ($_POST ['man']! = 5) {}

    echo '

    You answered incorrectly the anti-spam question! This means that your message has not been sent

    ';

    }

    else if ($_POST ['man'] == 5) {}

    mail ($ $subject, $body, $from);

    echo '

    Your message has been sent!

    ';

    }

    else {}

    echo '

    Something was wrong, go back and try again!

    ';

    }

    }

    ?>

  • Outlook for Mac, anti-SPAM, but not on iPhone or webmail

    I have a Macbook Air running Microsoft Outlook for Mac 2015 (version 15.24).  I have several e-mail accounts managed by Outlook.  I often get emails from spam/spam in Outlook, but the spam/junk e-mail does not appear on my iPhone or webmail interface (in all including unwanted folders, inbox etc..)  It only appears in Outlook.  And lately the frequency and the number has increased.  I ran several anti-spam, adware, spyware, programs etc, but no luck finding anything.  Any ideas on what I can do?

    First, determine what email account spam comes in. Chances are that it is a story that is not configured on your phone or is configured as a POP3 account, resulting in messages being deleted from the server once downloaded by Outlook.

    Then see what kind of this e-mail provider of server-based spam filtering offers.

  • I received 3 emails - "anti-spam feasibility" of Server Administrator - these are authentic or not?

    Emails containing the following message is displayed:

    Your webmail Quota exceeded it's set/Quota limit which is 20 GB.

    You're running on 23 GB, due to hidden files and your mailbox from the folder.

    Please CLICK HERE to activate the anti-spam engine and increase your Quota of Web mail.

    Enable anti spam engine and increase your webmail Quota can lead to loss of important data / information and Documents in your mailbox / or cause limited access. Thank you

    Ask your email provider if they have published messages. It's their server. Thunderbird only delivers messages. They do not issue them.

  • FRAUD! SCAM! ANTI-SPAM!

    Please, please, please, download these guys here, it's the 2nd e-mail I rteceived the last time I clicked on it and cancelled my payment because I have NOT allowed Skype to take money from my account...

    The last time that my account has been hacked and it causing major problems, paypal have been aware of this and I really think that Skype needs to address this as well.

    FRAUD! SCAM! ANTI-SPAM!




    TO ALL

    Please file here:

    Contact customer service

    TIME ZONE - US EAST. LOCATION - PHILADELPHIA, PA, USA.

    I recommend that you always run the latest version of Skype: Windows & Mac

    If my advice helped to solve your problem, please mark it as a solution to help others.
    Please note that I usually do not respond to unsolicited private Messages. Thank you.

  • Why can't find an anti spam device that works with skymail

    I can't find an anti-spam system that works with skymail

    Hello

    Anti-spamming devices are hardware solutions integrated with edge-based anti-spam software and are normally driven by an operating system optimized for spam filtering.

    You can check if Microsoft Security Essentials will meet your needs. http://www.Microsoft.com/security_essentials/

    If this isn't the case, you may search online or check with the manufacturer for the same thing.

    WARNING of THIRD PARTY SOFTWARE: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

  • How to stop the McAfee anti-spam folder appear in Windows Mail?

    I know I've done this before, but I just had to reinstall the operating system and forget how to stop the McAfee anti-spam folder to appear in my Windows Mail Inbox.

    Help!
    Thank you!!
    It should not appear in the Inbox WinMail, but rather a clean folder. The best way to stop it from appearing anywhere descend McAfee of your machine.
     
    Norton and McAfee are the two least friendly Windows security and swine resource to start programs. My ISP offers the McAfee security suite for free and I refuse to use it.
     
    I used to use Avast in conjunction with Windows Defender, (still a decent option), but since MSE became of age, I have used which. MSE is an anti-virus, Anti-Spyware and Anti-Malware program all in one. IMO, it is a program MS got it wrong. And all of these options are freeware.
     
    If you choose to give it a try, download and save the MSE. Remove McAfee and install MSE.
     
     
    Correction of tool McAfee Consumer Product Removal triple
    http://service.McAfee.com/FAQDocument.aspx?LC=1033&ID=TS100507  
  • No support TLS with comprehensive anti-spam Service?

    I have a NSA240 (SonicOS Enhanced 5.9) with the active anti-spam service.

    The question I have now, that all E-Mail traffic to the firewall is done without active TLS.

    Can you please tell me if this Service is not supported TLS or how I can enable.

    The smtp test reports the following:

    [000.171]

    Connected to the server

    [000.657]

    <>

    mia0vm - cass04.colo.sonicwall.com 220 ESMTP SonicWALL (8.0.1.2353)

    [000.657]

    We are allowed to connect

    [000.658]

    -->

    EHLO checktls.com

    [001.642]

    <>

    250 mia0vm - cass04.colo.sonicwall.com
    250 8BITMIME
    250-ENHANCEDSTATUSCODES
    250 100000000 SIZE

    [001.642]

    We can use this server

    [001.643]

    TLS is not an option on this server

    I suggest you ask your sales representative to open a feature request for the ability to support TLS with CASS.

    One thing you could do is ask your representative to sales for the free trial Email Security Virtual Appliance or software Windows.

    It is much more robust and supports TLS.

  • How to configure anti-spam to block addresses email not valid

    We receive a lot of spam that (fortunately screenshots of anti-spam) are directed to a non-existent user in our Organization. Is there a way to configure anti-spam to reject completely?

    I have a TZ205 with comprehensive services. firmware update

    Antispam on the firewall is no not no matter what filtering of recipients.

    Antispam on the firewall uses a Proxy connection and depends on the mail server to reject invalid recipient.

    The complete Email Security product rejects invalid recipients (Protection of DHA)

    The Hosted Email Security currently does not DHA Protection but it is added at a later date.

  • Stopped services: anti-spam

    Hello

    Quick question here, but would need a quick answer because the customer does not receive emails more.

    We had a power failure, then had to reload everything when the power came back.

    I have restarted the Spam Blocker when all servers have grown and ready, as it is by using Active Directory.

    System seems to work fine, except for the fact that when I do a status in the CLI, I get the following:

    Status of the: kill Aug 02 10:52:16 EDT 2011
    Distance from: kill Aug 02 10:03:15 EDT 2011 (49 m 1s)
    Zero counter last reset: never
    System status: paused on services: anti-spam
    Older message: 1 hour 17 minutes 37 seconds
    Featured - Bounce verification: Perpetual
    Feature - IronPort anti-spam: 212 days
    Feature - Incoming Mail Handling: Perpetual
    Feature - Sophos Anti-virus: 212 days

    I read somewhere that I could be caused by an invalid function key, but as you can see, everything is up to date and.

    I'll try to find the correct command to force the device to replace active Paused in the command line, but have not yet found anything.

    Can someone help me?

    Thank you!

    Mathieu

    Hello

    Can you please check what said "antispamstatus CLI command?" If it is has a n/a in it somewhere, and then call the support hotline to get the anti-Spam fixed.

    Thank you and best regards,

    Martin

    ---

    Envoy while being on the road. Please excuse typos typing and short answers.

    Von: [email protected] / * /

    Gesendet: Tuesday, August 2, 2011 17:10

    Year: Martin Eppler (meppler)

    Vacancies:-pause on services: anti-spam

    Cisco support community

    Stopped services: anti-spam

    created by [email protected] / * / in blocker Spam & Virus Business small - see the discussion complete

  • Of McAfee anti-spam does not work with tbird

    TBird 38.5.1 worked with Mcafee anti-spam until 3 days ago. Technical support of McAfee Tbird to upgrade to the current version, and it still didn't work. Back to 38.5.1 devulcanization and still does not work. McAfee says tbird it blocks somehow.

    arbrus - no doubt the Thunderbird and McAfee has updated over the past two months.

    So always meet you this problem if you re-enable the addon? We would like to know - so we would be grateful if you can test and response.

  • Hello! I have already repeatedly sent an invitation to a new user of creative cloud. This invitation never reaches the level of the receiver. Or even anti-spam filter in the other mailboxes this mail to find. Is it because the word testuser occurs in the

    Hello! I have already repeatedly sent an invitation to a new user of creative cloud. This invitation never reaches the level of the receiver. Or even anti-spam filter in the other mailboxes this mail to find. Is it because the word testuser occurs in the mail?

    Hi Eric, if you have tried all the steps from the link mentioned in the previous post, please Contact Customer Care

    Atul_Saini

  • Aid for the creation of anti-spam on site

    I could do with a little help

    I am creating a form of anti-spam honeypot for the site from a friend, but I can't make it work.

    I put it in a jar of honey ordinary and time

    On the page of the form

    < class = "end-para" p > simply fill out the form below, including all necessary details and one of our friendly and experienced customer service team will be happy to remind your time choice. < /p >
    < are method = "post" action = "callback.php" >
    < fieldset class = "site-forms" >
    < p > < class label = 'contact-fields' for 'name' = > your name: < / label >
    < input type = "text" class = "login" name = "name" id = "name" / > < / p >

    < class li 'Robotics' id = 'pot' = >

    < label for = "robotest" > if you're human leave this field empty: < / label >

    < input name = "robotest" id = 'robotest' class = 'robotest"type ="text"/ >

    < /li >

    < p > < class label = 'contact-fields' for 'email' = > E-mail address: < / label >
    < input type = "text" class = "identifier" = "email" id = "email" / > < / p >
    < p > < class = 'contact-fields' label for = 'phone' > phone: < / label >
    < input type = "text" class = "login" name = 'Phone' id = 'phone' / > < / p >

    < p > < input type = "hidden" name = "loadtime" value = "time (); "/ > < / p >

    < p >

    < / fieldset >
    < fieldset class = "site-forms" >
    < p > < class label = "contact-fields" for = 'time' > when want us to call you? < / label > < / p >
    < input type = "radio" name = "best_time" value = "call me during the day (09:00 - 17:00)" > call me during the day (09:00 - 17:00) < br >
    < input type = "radio" name = "best_time" value = "call me at night (17:00 - 21:00)" checked > call me at night (17:00 - 21:00) < br >
    < input type = "radio" name = "best_time" value = "call anytime" > call me anytime < br >
    I would prefer to be emailed < br > < input type = "radio" name = "best_time" value = "I would rather be sent" >
    < class p = 'form-notes' > < small > < strong > note <: facilities > we will try to call you at the point where you have selected and within the 1 business day. < / small > < / p >

    And on the next page

    <? PHP

    $name = $_REQUEST ['name'];

    $robotest = $_POST ['robotest"];

    $email = $_REQUEST ['email'];

    $telephone = $_REQUEST ['phone'];

    $loadtime = $_POST ["loadtime"];

    $best_time = $_REQUEST ['best_time'];

    {if($_POST)}

    $robotest = $_POST ['robotest"];

    If ($robotest)

    $error = "sayonara Mr. Roboto.";

    else {}

    $success = ' your message has been sent! ";

    }

    If ($Success)

    echo "< div class = 'msg success' > '." $success. "< / div > ';

    }

    $loadtime = $_POST ["loadtime"];

    $totaltime = time() - $loadtime;

    If ($TotalTime < 5)

    {

    ECHO ("you took less than 5 seconds to complete the form, blah blah blah");

    "exit";

    }

    If (! isset($_REQUEST['email'])) {}

    header ("Location: http://www.windowfixuk.co.uk" "");

    }

    ElseIf (($email) empty | empty ($telephone)) {}

    Can anyone suggest what is incorrect or ways to improve overall upward?

    Thank you

    Dowifi wrote:

    I am a bit confused about the loadtime honeypot as loadtime is supposed to stop the msg if the person takes less 5 seconds then to fill the page, then he was not supposed to be anything to fill.

    The two solutions are the same. Only a robot will fill in the hidden field, so no matter if it takes 2 seconds or 20 seconds. The original solution, you use timing controls that seem unnecessarily complex for me.

    All its saying (you need to be a robot because you took 5 seconds to complete the form field). The form field is always filled in so check that instead... as I said it doesn't matter if a robot takes 2 seconds or all day to fill the field of form - which is something is in the form field.

  • E Mail Forms and spam bots

    I created a form and using a PHP script to send form results to an e-mail account. How protected is to harvest the address of e-mail by spam bots? If this is not the best way to go, any suggestions on a better way. I'm familiar with captcha, but would prefer not to have to use it.

    thnx
    Fred

    Thank you. The address is ONLY in the PHP script.

  • How to generate a public and private key when you use reCAPTCHA anti spam protection forms?

    Hello

    I designed my first website using muse for a customer. now, I want to insert a protection against spam reCAPTCHA. I followed the guide step by step from adobe, but when I want to log in to the google administration console, I'm stuck. can I use my login information to design companies that I have a business google account? and if so, where can I find the app because it does not appear on the console connection that I currently use.

    Help, please!

    Hello

    Please click the link below and login with google/Gmail code. you or your organization

    reCAPTCHA: easy on humans, hard on the Bots

    If you do not have a gmail id then just sign up on google.com or gmail.com.

    Concerning

    Vivek

Maybe you are looking for