Code to stop html SPAM in forms

Hi,
I am getting spammed to death through my forms.  I am assuming it is a bot.  I am on ASP and plan to switch over to PHP so I can do Captcha if I cannot find the solution I am looking for.
How do I disable my submit button if someone enters a web address?  I know they can break it up and do http : // ispam dot com. 
If someone has some suggestions I would appreciate it.
Thanks,
Richard

Ricky, do us a favor and avoid speculation by posting a link to your email form and the contents of your form processing script.
As mentioned earlier, no one is looking over your shoulder or reading your mind. You managed to provide a link to your page but unfortunately you epically failed to provide the contents of your form processing script. Get it together, Little Ricky. I never said you didn't know what a div is or a css file. I said if you're having trouble differenciating between those and a form processing script then you have a lot to learn. If you wish to continue alluding from providing necessary information that is asked for then do a search for asp if statement that I mentioned earlier. There's plenty of information on the internets that will show you how to create an if statement in asp.
best,
Shocker

Similar Messages

  • Adobe Acrobat 9.0 has stopped working  (after Start Form Wizard)

    Downloaded Trial for Adobe Acrobat 9.0
    Tried reinstalling
    Latest windows 7 patches
    Adobe Acrobat 9.0 has stopped working
    (after Start Form Wizard)
    Windows can check online for a solution to the problem
    details"
    Problem signature:
      Problem Event Name:    APPCRASH
      Application Name:    Acrobat.exe
      Application Version:    9.0.0.332
      Application Timestamp:    4850eb76
      Fault Module Name:    MakeAccessible.api
      Fault Module Version:    9.0.0.332
      Fault Module Timestamp:    4850e54e
      Exception Code:    c0000005
      Exception Offset:    000e1059
      OS Version:    6.1.7600.2.0.0.256.1
      Locale ID:    1033
      Additional Information 1:    0a9e
      Additional Information 2:    0a9e372d3b4ad19135b953a78882e789
      Additional Information 3:    0a9e
      Additional Information 4:    0a9e372d3b4ad19135b953a78882e789
    ===============================
    ===============================
    SYSTEM INFORMATION
    =========================
    System Parameters
    Available Physical Memory: 1429660 KB
    Available Virtual Memory: 1912212 KB
    BIOS Version: DELL   - 42302e31
    Default Browser: C:\Program Files\Internet Explorer\iexplore.exe
        Version: 8.00.7600.16385 (win7_rtm.090713-1255)
        Creation Date: 2009/07/13
        Creation Time: 4:43:32 PM
    Default Mail: Microsoft Office Outlook
        mapi32.dll
        Version: 1.0.2536.0 (win7_rtm.090713-1255)
    Graphics Card: Intel(R) G33/G31 Express Chipset Family
        Version: 8.14.10.1930
        Check: Not Supported
    Installed Acrobat: C:\Program Files\Adobe\Acrobat 9.0\Acrobat\Acrobat.exe
        Version: 9.0.0.2008061200
        Creation Date: 2008/06/12
        Creation Time: 2:25:18 AM
    Installed Acrobat: C:\Program Files\Adobe\Reader 9.0\Reader\AcroRd32.exe
        Version: 9.3.2.163
        Creation Date: 2010/04/03
        Creation Time: 10:57:52 PM
    Locale: English (United States)
    Monitor:
        Name: Intel(R) G33/G31 Express Chipset Family
        Resolution: 1024 x 768 x 75
        Bits per pixel: 32
    OS Manufacturer: Microsoft Corporation
    OS Name: Microsoft Windows Vista
    OS Version: 6.1.7600 
    Page File Space: 4194303 KB
    Processor: x86 Family 6 Model 23 Stepping 7  GenuineIntel  ~2493  Mhz
    System Name: DELLINSPIRON
    Temporary Directory: C:\Users\alan\AppData\Local\Temp\
    Time Zone: Pacific Standard Time
    Total Physical Memory: 2097151 KB
    Total Virtual Memory: 2097024 KB
    User Name: alan
    Windows Directory: C:\Windows
    Installed Plugins
    =================
    C:\Program Files\Adobe\Acrobat 9.0\Acrobat\plug_ins\Annots.api
        Version: 9.0.0.2008061200
        Creation Date: 2008/06/12
        Creation Time: 1:59:50 AM
    C:\Program Files\Adobe\Acrobat 9.0\Acrobat\plug_ins\EScript.api
        Version: 9.0.0.2008061200
        Creation Date: 2008/06/12
        Creation Time: 2:05:18 AM
    C:\Program Files\Adobe\Acrobat 9.0\Acrobat\plug_ins\PPKLite.api
        Version: 9.0.0.0
        Creation Date: 2008/06/12
        Creation Time: 2:08:24 AM
    C:\Program Files\Adobe\Acrobat 9.0\Acrobat\plug_ins\SendMail.api
        Version: 9.0.0.2008061200
        Creation Date: 2008/06/12
        Creation Time: 2:17:10 AM
    C:\Program Files\Adobe\Acrobat 9.0\Acrobat\plug_ins\Updater.api
        Version: 9.0.0.2008061200
        Creation Date: 2008/06/12
        Creation Time: 2:00:30 AM

    To go along with Michael's suggestion, something like AA9.2 is needed for X64 systems I think. Also, be careful. Acrobat is not licensed for use on a server. Using it as a user is fine, but not as a server application. Read the license carefully.

  • How to get the source code of an HTML page in Text file Through java?

    How to get the source code of an HTML page in Text file Through java?
    I am coding an application.one module of that application is given below:
    The first part of the application is to connect our application to the existing HTML form.
    This module would make a connection with the HTML page. The HTML page contains the coding for the Form with various elements. The form may be a simple form with one or two fields or a complex one like the form for registering for a new Bank Account or new email account.
    The module will first connect through the HTML page and will fetch the HTML code into a Text File so that the code can be further processed.
    Could any body provide coding hint for that

    You're welcome. How about awarding them duke stars?
    edit: cheers!

  • How to add table attributes to start stop html table item

    Hello,
    I want to put a frame around a number of items between a start/stop html table item. How can I do that?
    Can I add border= "1" somewhere?
    Thanks for the help

    Hello,
    You would do something like this
    <style>
    .formlayout{border:1px solid red}
    </style>
    But how can I put it on and off then? You could use some javascript to do it or use the region id and then get the second table in the region body with that class name, there are a couple different ways to do it but none are simple and out of the box.
    If you can out an example page on apex.oracle.com it will be much easier to help you out with the exact code.
    It will be much simpler to do in 3.1 which is why that enhancment was put in.
    Regards,
    Carl
    blog : http://carlback.blogspot.com/
    apex examples : http://apex.oracle.com/pls/otn/f?p=11933:5

  • Create HTML page inside form 6i

    Hi ,
    I would like to know if it's possible to create an HTML page inside form 6i ,, where this html page will include a time using html code, and a refresh button will be in the form whenever I press the refresh button the html page inside the form will be updated ..
    how can i do that ?
    Thanks in advance … :)

    Yes its possible . If you are running forms in client server , use host built in to open the html page. This html page can be created
    dynamically using text io.
    If you are running on web use webutil client host and text io.
    Best Regards
    Rajesh Alex

  • Help with html / php contact form

    Hi guys I was hoping to get some help with a contact form on my website, to be honest I havent a clue about php but kind of okay with html thats why the php code is just a copy and paste from some website, just trying to marry it up with the html but getting errors.
    Hopfully one of you can see the problem.
    Error on Submitting:
    Notice: Undefined variable: name in \\nas44ent\Domains\g\gethinhayman.co.uk\user\htdocs\send_form_email.php on line 69
    Notice: Undefined variable: message in \\nas44ent\Domains\g\gethinhayman.co.uk\user\htdocs\send_form_email.php on line 75
    We are very sorry, but there were error(s) found with the form you submitted. These errors appear below.
    The Name you entered does not appear to be valid.
    The Comments you entered do not appear to be valid.
    HTML Code:
    <section id="contact" class="four">
                                                                <div class="container">
                                                                          <header>
                                                                                    <h2>Contact</h2>
                                                                          </header>
                                                                          <form method="post" action="send_form_email.php">
                                                                                    <div class="row half">
                                                                                              <div class="6u"><input type="text" class="text" name="name" placeholder="Name" /></div>
                                                                                              <div class="6u"><input type="text" class="text" name="email" placeholder="Email" /></div>
                                                                                    </div>
                                                                                    <div class="row half">
                                                                                              <div class="12u">
                                                                                                        <textarea name="message" placeholder="Message"></textarea>
                                                                                              </div>
                                                                                    </div>
                                                                                    <div class="row">
                                                                                              <div class="12u">
                                                                                                        <a href="http://www.mywebsite.co.uk/email_form.php" class="button submit">Send Message</a>
                                                                                              </div>
                                                                                    </div>
                                                                          </form>
                                                                </div>
                                                      </section>
    php Code:
    <?php
    if(isset($_POST['email'])) {
        $email_to = "my email address";
        $email_subject = "Mail from Site";
        function died($error) {
            // your error code can go here
            echo "We are very sorry, but there were error(s) found with the form you submitted. ";
            echo "These errors appear below.<br /><br />";
            echo $error."<br /><br />";
            echo "Please go back and fix these errors.<br /><br />";
            die();
        // validation expected data exists
        if(!isset($_POST['name']) ||
            !isset($_POST['email']) ||
            !isset($_POST['message'])) {
            died('We are sorry, but there appears to be a problem with the form you submitted.');      
        $first_name = $_POST['name']; // required
        $email_from = $_POST['email']; // required
        $comments = $_POST['message']; // required
        $error_message = "";
        $email_exp = '/^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/';
      if(!preg_match($email_exp,$email_from)) {
        $error_message .= 'The Email Address you entered does not appear to be valid.<br />';
        $string_exp = "/^[A-Za-z .'-]+$/";
      if(!preg_match($string_exp,$name)) {
        $error_message .= 'The Name you entered does not appear to be valid.<br />';
      if(strlen($message) < 1) {
        $error_message .= 'The Comments you entered do not appear to be valid.<br />';
      if(strlen($error_message) > 0) {
        died($error_message);
        $email_message = "Form details below.\n\n";
        function clean_string($string) {
          $bad = array("content-type","bcc:","to:","cc:","href");
          return str_replace($bad,"",$string);
        $email_message .= "Name: ".clean_string($name)."\n";;
        $email_message .= "Email: ".clean_string($email)."\n";
        $email_message .= "Message: ".clean_string($message)."\n";
    // create email headers
    $headers = 'From: '.$email_from."\r\n".
    'Reply-To: '.$email_from."\r\n" .
    'X-Mailer: PHP/' . phpversion();
    @mail($email_to, $email_subject, $email_message, $headers); 
    ?>
    <?php
    ?>

    PHP CODE:  SaveAs send_form_email.php
    <?php
    if(isset($_POST['email'])) {
        // EDIT THE 2 LINES BELOW AS REQUIRED
        $email_to = "[email protected]";
        $email_subject = "Your email subject line";
        function died($error) {
            // your error code can go here
            echo "We are very sorry, but there were error(s) found with the form you submitted. ";
            echo "These errors appear below.<br /><br />";
            echo $error."<br /><br />";
            echo "Please go back and fix these errors.<br /><br />";
            die();
        // validation expected data exists
        if(!isset($_POST['name']) ||
            !isset($_POST['email']) ||
            !isset($_POST['message'])) {
            died('We are sorry, but there appears to be a problem with the form you submitted.');     
        $name = $_POST['name']; // required
        $email_from = $_POST['email']; // required
        $comments = $_POST['message']; // required
        $error_message = "";
        $email_exp = '/^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/';
      if(!preg_match($email_exp,$email_from)) {
        $error_message .= 'The Email Address you entered does not appear to be valid.<br />';
        $string_exp = "/^[A-Za-z .'-]+$/";
      if(!preg_match($string_exp,$name)) {
        $error_message .= 'The Name you entered does not appear to be valid.<br />';
      if(strlen($message) < 2) {
        $error_message .= 'The message you entered does not appear to be valid.<br />';
      if(strlen($error_message) > 0) {
        died($error_message);
        $email_message = "Form details below.\n\n";
        function clean_string($string) {
          $bad = array("content-type","bcc:","to:","cc:","href");
          return str_replace($bad,"",$string);
        $email_message .= "Name: ".clean_string($name)."\n";
        $email_message .= "Email: ".clean_string($email_from)."\n";
        $email_message .= "Message: ".clean_string($message)."\n";
    // create email headers
    $headers = 'From: '.$email_from."\r\n".
    'Reply-To: '.$email_from."\r\n" .
    'X-Mailer: PHP/' . phpversion();
    @mail($email_to, $email_subject, $email_message, $headers);
    ?>
    <!-- include your own success html here -->
    Thank you for contacting us. We will be in touch with you very soon.
    <?php
    ?>
    HTML Code -- save as html page.
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Contact Form</title>
    </head>
    <body>
    <section id="contact" class="four">
    <div class="container">
    <header>
    <h2>Contact</h2>
    </header>
    <form method="post" action="send_form_email.php">
    <div class="row half"> <div class="6u">
    <input type="text" class="text" name="name" placeholder="Name" />
    </div>
    <div class="6u">
    <input type="text" class="text" name="email" placeholder="Email" />
    </div>
    </div>
    <div class="row half"> <div class="12u">
    <textarea name="message" placeholder="Message"></textarea>
    </div>
    </div>
    <div class="row">
    <div class="12u">
    <input type="submit" name="submit" value="Send">
    </div>
    </div>
    </form>
    </div>
    </section>
    </body>
    </html>
    Upload both to your Apache server to test.
    EDIT:  changed typo on Submit button -- valuse to value.
    Nancy O.

  • How do i allow for a discount code or other discount on my form?

    How do allow for a discount code or other discount on the form?

    I am assuming you want to use paypal with this form which mean you need to use an HTML form. Unfortunately Formscentral doesn't support calculations with HTML forms. This is going to make discounts difficult. Depending on your exact needs you might be able to get away with using different fields for the discount. Example. Item one is standard room rate. Item two might be the same room with a AAA discount applied. etc. You will have to play with it to see if you can get it to do what you want.
    Andrew

  • How to return a html repsonse after form guide rendering in browser?

    How to return a html repsonse after form guide rendering in browser indicating that server has recieved transmission and request is submitted succesfuly?
    I am rendering the form guide in browser using guide invoke service and when i submit the data in browser to server through guide , it is displaying some random number in browser?
    i need to display a resposne that request is submitted successfully?

    how could i define a variable with "html data" ?
    Create a variable of type document and then a service to read the html from where ever it's located. If you put it in LiveCycle, you can use the ReadRessource service. If it's on the file system, you can use the Read Document. If it's in the database, you can use the JDBC service.
    Also, one more doubt where should i use this variable in my process to get the same?
    You want the response once you've submitted the data, so the html is really the result of calling the process that's processing the data. So I would create an output variable of type document on that process.
    Right now it displays a random number in the browser because your submit process is long lived. When a process is long lived (asynchronous), you invoke it and then you get an identifier back. It's kind of a fire and forget. You can use that identifier to check the status of the long lived process, since long lived processes can take hours, days to complete. You don't want your browser to wait that long, hence the identifier.
    However if you change the process to be short lived (synchronous), the browser will wait for the result of the process, which really means the output variables for that process. If your output variable contains html, it'll display html.
    So the key is make you submit process short lived and populate the output variables appropriately.
    Jasmin

  • How to display HTML file in forms 6i

    please can any one tell me how i can display normal HTML file in forms 6i
    this HTML file will be called from help menu.
    thanks in advance

    If you're fine with opening html file in a separate browser window, you can use web.show_document.
    But if you have to see html inside Form, one of the solution may be use embeded browser. for detail goto http://forms.pjc.bean.over-blog.com/article-1890238.html

  • How to get the source code of an HTML page in Text file Through J2EE

    How to get the source code of an HTML page in Text file Through J2EE?

    Huh? If you want something like your browser's "view source" command, simply use a URLConnection and read in the data from the URL in question. If the HTML page is instead locally on your machine, use a FileInputStream. There's no magic invovled either way.
    - Saish

  • O, Is there a way to fix grey ghosted template code on a html page?

    Hello, Is there a way to fix grey ghosted template wrong placed code on a html page in DWCS6? I have about 15 pages out of about 900 that need the same fix. Only one template is for these 15 pages and it  looks fine but won't attach to pages because of the error on line1.
    The first line below is the error problem and also below is the error when I try to attach the Template.
    (error problem)  <!-- InstanceBegin template="/Templates/Cotton_Silk.dwt" codeOutsideHTMLIsLocked="false" --><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="css/single.css" rel="stylesheet" type="text/css" />
    <link href="tooltip.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryTooltip.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/SpryTooltip.js" type="text/javascript"></script>
    <head>
    <link href="tooltip.css" rel="stylesheet" type="text/css" />
    <meta name="title" content="Luna Luz Silk Cotton and Cotton Lycra Button Front Dress  - TodaysClothing.com" />
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXX
    (error)    not updated, error in template or instance file

    Hello, Is there a way to fix grey ghosted template wrong placed code on a html page in DWCS6? I have about 15 pages out of about 900 that need the same fix. Only one template is for these 15 pages and it  looks fine but won't attach to pages because of the error on line1.
    The first line below is the error problem and also below is the error when I try to attach the Template.
    (error problem)  <!-- InstanceBegin template="/Templates/Cotton_Silk.dwt" codeOutsideHTMLIsLocked="false" --><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="css/single.css" rel="stylesheet" type="text/css" />
    <link href="tooltip.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryTooltip.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/SpryTooltip.js" type="text/javascript"></script>
    <head>
    <link href="tooltip.css" rel="stylesheet" type="text/css" />
    <meta name="title" content="Luna Luz Silk Cotton and Cotton Lycra Button Front Dress  - TodaysClothing.com" />
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXX
    (error)    not updated, error in template or instance file
    in Dreamweaver support forum • Reply • Like Show 0 Likes(0)

  • Code works in html not in jsp y

    the bello code works in html but not in jsp y
    <img src="images/logo.gif">this code is well running in html
    when i saved it as .jsp
    it doesn't works ie the image is not displaying y. could u help me

    I tried it works fine in both cases you just check out your src path.

  • Increase in SPAM web form submissions

    Hi,
    I'm noticing a trend of increased SPAM web form submissions across most  of our BC sites. This has got particularly bad in the past week or so. All SPAM submissions follow a very similar theme. The text is complete 'gobbledygook' basically! The forms being used don't have any description fields where long descriptions or links can be entered so I struggle to see why this is happening.
    What I want to know is:
    - is this something other BC partners are noticing, particularly recently
    - are your SPAM submissions similar to what I have shown below
    - what can we do to reduce these other than using CAPTCHA on all forms?
    - we exclusively use BC but I would be interested to know if the BC platform is particularly bad for SPAM submissions or is this something all sites are suffering from nowadays?
    - any other light you could shed on this issue or advice you could impart would be much appreciated
    Real submission example:
    First name: tjlavseb
    Surname: tjlavseb
    Email: [email protected]
    Date: hgnhQMmssGynJLb
    Time: 11am
    House Name: LHkJxazHGUYClEZJQd
    Street address: nvOaQumEsbBGsA
    Postcode: lJEODtxlXj

    Hi there,
    We are experiencing a high volume of spam since changing our web forms on our newly redesigned site. The objective of the site design was to make it quick and easy for clients to get a quick quote thus asking for only a few fields to be completed. Adding a captcha form would actually detract from the purpose of the form.
    We have implemented the honey pot field which seems to have made little to no difference in volume (this seems to be the case for this fix across many other users of BC). The problem is with our spam is quite unusual whereby we are not getting any specific info from them really making it hard to detect if it is spam or real. See example;
    Have you seen this type before? 
    Your Name
    David
    Email Address
    [email protected]
    Case Number
    4257685
    Company
    casterick
    Date
    18-Apr-2013
    Location
    Victoria
    Type
    Meeting
    Your Requirements

  • BPELConsole: Initiate does not show HTML or XML form to fill in variables

    Hi,
    i am using a xsd with a cascaded import of other xsds.
    If i use one import layer everything is fine.
    But if i use something like:
    1.xsd (imports 2.xsd)
    2.xsd (imports 3.xsd)
    The BPELConsole refuses to show me a HTML or XML form where i can fill in the variables...

    Hi,
    For time being create one dummy process with request and response as a string type and call your process with the [xml]string input by creating partnerlink.
    Generate xml from the schema with xml generator tools.
    or use java api to invoke the process.
    Regards,
    Bogi

  • How do I see the source code of a html page?

    In previous versions it was possible to read the source code on a html page from "view" menu. It is not longer there. How do I read code now?

    You're welcome

Maybe you are looking for

  • Cannot find file, would you like to locate it?

    I know others have seen this message and they have found where the song or songs were located, but I cannot find where they are located. It has not happened to all of the songs but about 25% of them. How do I locate them so I can play them again? How

  • DRM coded books, problem with Adobe ID

    Hello I have registered my new cell phone for Adobe ID but I can not open DRM coded books when they are copied from Digital Edition to my new device (Android cellular phone, Aldiko app). My Adobe ID was previously registered for I think totally five

  • Sap srm important tcodes, tables and functions

    hi! can any one say me important tcodes , tables , functions that are used in sap srm ? thanks in advance

  • Loading HFM data to Hyperion Planning using FDM

    Hi All Has anyone ever used HFM as a data source for FDM? Someone has asked me for the best way to get data from HFM into Hyperion Planning and whether FDM can manage that. I know there is a generic Pull adapter and the ERPi but I'm not sure whether

  • I have duplicates appointments in my ical on my iphone.

    when i synced my iphone 4 it put duplicates in my ical on my phone. what's up. HELP!