Urgent Help Needed On How To Stop Contact Form Spam

  • calvi36
  • Graduate
  • Graduate
  • calvi36
  • Posts: 145
  • Loc: Glasgow, Scotland

Post 3+ Months Ago

Hi Guys,

My sites contact form is being spammed with gobbledegook enquiries such as:

Name: Achwsjwz
Surname: Achwsjwz
Email: rflzvpsz@huadzdol.com
Telephone: qcVjVUvKFHB
Make: QWpxNKnWCIzxX
Model: PVwCpGNfZi

I am receiving hundreds of these per day. I need to find out how to include a verification field in the contact form, you know the ones that ask you to complete the letters you can see to prove you are a person and not a bot.

If anyone can help I would really appreciate it.
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8413
  • Loc: USA

Post 3+ Months Ago

http://www.white-hat-web-design.co.uk/articles/php-captcha.php

I use that one so far...
  • calvi36
  • Graduate
  • Graduate
  • calvi36
  • Posts: 145
  • Loc: Glasgow, Scotland

Post 3+ Months Ago

Thanks Bogey, I'll just have to figure out how to implement that on my current contact form.
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8413
  • Loc: USA

Post 3+ Months Ago

If you have difficulties you can give me the code (The form and the validation form) and I would be able to help you out on it :)
  • calvi36
  • Graduate
  • Graduate
  • calvi36
  • Posts: 145
  • Loc: Glasgow, Scotland

Post 3+ Months Ago

The problem I have is that there are 4 different contact php files that make up the complete form. I'm not a designer bud, your help is much appreciated.
  • calvi36
  • Graduate
  • Graduate
  • calvi36
  • Posts: 145
  • Loc: Glasgow, Scotland

Post 3+ Months Ago

This is the code on the main contacus page. There are 3 other similar php pages that overlap.

Code: [ Select ]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="description" content="car leasing, van leasing, contract hire. Need a vehicle quickly then give us a call on 0845 3899 452" />
<meta name="keywords" content="content="car,leasing,van,contract hire,lease,audi,bmw,contact,cheap,leasing quote" />
    <title>Lease2u Car And Van Leasing</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<link href="stylef.css" rel="stylesheet" type="text/css" />
</head>

<body>
<!-- caloϾ -->
<div id="calosc">
    
    <?php include('belka_top.php'); ?>
    <?php include('top.php'); ?>
    
    <div id="srodek">
        <!-- czesc zmienna -->
        <div id="prawo">
            <div id="s_linia"></div>
            <div id="main">
            <h2 class="t">Contact Us</h2>
            
            <p class="odp j">At Lease2U we pride ourselves in keeping things simple.</p><br />
            <p class="odp j">We realise just how busy you are with running your own business. Or your normal family life.</p><br />
            <p class="odp j">That's why we do not use long contact forms asking for everything from
your shoe size to your blood group!</p><br />
            <p class="odp j">We believe in speaking to our customers and not from a call centre based
in outer who knows where"</p><br />
            <p class="odp j">You will speak to a person who speaks English as a first language.</p><br />
                <p class="odp j">To move things forward all we need are a few details. Name, number, email
address and vehicle you are interested in.</p><br />
                    <p class="odp j">Just fill in this short form or give us a call.</p><br />
            
                <div class="form">
            <form action="contactus.php" method="post">
        
            <table class="forma_k"><p id="warning"><?php echo $komunikat; ?></p>
            
<tr>
    <td id="form_des_w">Name</td><td><input type="text" name="name" id="name" alt="name" /></td>
</tr>
<tr>
    <td>Surname</td><td><input type="text" name="surname" alt="surname" /></td>
</tr>
<tr>
    <td>Email</td><td><input type="text" name="email" alt="email" /></td>
</tr>
<tr>
    <td>Telephone</td><td><input type="text" name="telephone" alt="telephone" /></td>
</tr>
<tr>
    <td>Make</td><td><input type="text" name="make" alt="make" /></td>
</tr>
<tr>
    <td>Model</td><td><input type="text" name="model" alt="model" /></td>
</tr>
<tr>
    <br />
    <td colspan="2" align="center"><br />
        <input type="submit" value="Send" id="submit_butt" />

    </td>
</tr>
</table>
</form>
    </div>    
            
            
            
            
            
            
            
            </div>
        
        
        
    </div>
        
                    <div id="lewo">
                        <div id="l_logo"></div>
                        <div id="menu">
                                <?php include('l_menu.php'); ?>    
                        </div>
                        
                    </div>
        
    </div>
    
        <?php include('stopka.php'); ?>
    
</div>
<!-- //caloϾ -->
<!-- Start of StatCounter Code -->
<script type="text/javascript">
var sc_project=3217719;
var sc_invisible=0;
var sc_partition=35;
var sc_security="d1a1a81d";
</script>

<script type="text/javascript" src="http://www.statcounter.com/counter/counter_xhtml.js"></script><noscript><div class="statcounter"><a class="statcounter" href="http://www.statcounter.com/"><img class="statcounter" src="http://c36.statcounter.com/3217719/0/d1a1a81d/0/" alt="free hit counter" /></a></div></noscript>
<!-- End of StatCounter Code -->

<!-- Google Code for lead Conversion Page -->
<script language="JavaScript" type="text/javascript">
<!--
var google_conversion_id = 1053944093;
var google_conversion_language = "en_GB";
var google_conversion_format = "1";
var google_conversion_color = "3366FF";
if (1) {
var google_conversion_value = 1;
}
var google_conversion_label = "lead";
//-->
</script>
<script language="JavaScript" src="http://www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<img height=1 width=1 border=0 src="http://www.googleadservices.com/pagead/conversion/1053944093/imp.gif?value=1&label=lead&script=0">
</noscript>


</body>
</html>
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  5. <meta name="description" content="car leasing, van leasing, contract hire. Need a vehicle quickly then give us a call on 0845 3899 452" />
  6. <meta name="keywords" content="content="car,leasing,van,contract hire,lease,audi,bmw,contact,cheap,leasing quote" />
  7.     <title>Lease2u Car And Van Leasing</title>
  8. <link href="style.css" rel="stylesheet" type="text/css" />
  9. <link href="stylef.css" rel="stylesheet" type="text/css" />
  10. </head>
  11. <body>
  12. <!-- caloϾ -->
  13. <div id="calosc">
  14.     
  15.     <?php include('belka_top.php'); ?>
  16.     <?php include('top.php'); ?>
  17.     
  18.     <div id="srodek">
  19.         <!-- czesc zmienna -->
  20.         <div id="prawo">
  21.             <div id="s_linia"></div>
  22.             <div id="main">
  23.             <h2 class="t">Contact Us</h2>
  24.             
  25.             <p class="odp j">At Lease2U we pride ourselves in keeping things simple.</p><br />
  26.             <p class="odp j">We realise just how busy you are with running your own business. Or your normal family life.</p><br />
  27.             <p class="odp j">That's why we do not use long contact forms asking for everything from
  28. your shoe size to your blood group!</p><br />
  29.             <p class="odp j">We believe in speaking to our customers and not from a call centre based
  30. in outer who knows where"</p><br />
  31.             <p class="odp j">You will speak to a person who speaks English as a first language.</p><br />
  32.                 <p class="odp j">To move things forward all we need are a few details. Name, number, email
  33. address and vehicle you are interested in.</p><br />
  34.                     <p class="odp j">Just fill in this short form or give us a call.</p><br />
  35.             
  36.                 <div class="form">
  37.             <form action="contactus.php" method="post">
  38.         
  39.             <table class="forma_k"><p id="warning"><?php echo $komunikat; ?></p>
  40.             
  41. <tr>
  42.     <td id="form_des_w">Name</td><td><input type="text" name="name" id="name" alt="name" /></td>
  43. </tr>
  44. <tr>
  45.     <td>Surname</td><td><input type="text" name="surname" alt="surname" /></td>
  46. </tr>
  47. <tr>
  48.     <td>Email</td><td><input type="text" name="email" alt="email" /></td>
  49. </tr>
  50. <tr>
  51.     <td>Telephone</td><td><input type="text" name="telephone" alt="telephone" /></td>
  52. </tr>
  53. <tr>
  54.     <td>Make</td><td><input type="text" name="make" alt="make" /></td>
  55. </tr>
  56. <tr>
  57.     <td>Model</td><td><input type="text" name="model" alt="model" /></td>
  58. </tr>
  59. <tr>
  60.     <br />
  61.     <td colspan="2" align="center"><br />
  62.         <input type="submit" value="Send" id="submit_butt" />
  63.     </td>
  64. </tr>
  65. </table>
  66. </form>
  67.     </div>    
  68.             
  69.             
  70.             
  71.             
  72.             
  73.             
  74.             
  75.             </div>
  76.         
  77.         
  78.         
  79.     </div>
  80.         
  81.                     <div id="lewo">
  82.                         <div id="l_logo"></div>
  83.                         <div id="menu">
  84.                                 <?php include('l_menu.php'); ?>    
  85.                         </div>
  86.                         
  87.                     </div>
  88.         
  89.     </div>
  90.     
  91.         <?php include('stopka.php'); ?>
  92.     
  93. </div>
  94. <!-- //caloϾ -->
  95. <!-- Start of StatCounter Code -->
  96. <script type="text/javascript">
  97. var sc_project=3217719;
  98. var sc_invisible=0;
  99. var sc_partition=35;
  100. var sc_security="d1a1a81d";
  101. </script>
  102. <script type="text/javascript" src="http://www.statcounter.com/counter/counter_xhtml.js"></script><noscript><div class="statcounter"><a class="statcounter" href="http://www.statcounter.com/"><img class="statcounter" src="http://c36.statcounter.com/3217719/0/d1a1a81d/0/" alt="free hit counter" /></a></div></noscript>
  103. <!-- End of StatCounter Code -->
  104. <!-- Google Code for lead Conversion Page -->
  105. <script language="JavaScript" type="text/javascript">
  106. <!--
  107. var google_conversion_id = 1053944093;
  108. var google_conversion_language = "en_GB";
  109. var google_conversion_format = "1";
  110. var google_conversion_color = "3366FF";
  111. if (1) {
  112. var google_conversion_value = 1;
  113. }
  114. var google_conversion_label = "lead";
  115. //-->
  116. </script>
  117. <script language="JavaScript" src="http://www.googleadservices.com/pagead/conversion.js">
  118. </script>
  119. <noscript>
  120. <img height=1 width=1 border=0 src="http://www.googleadservices.com/pagead/conversion/1053944093/imp.gif?value=1&label=lead&script=0">
  121. </noscript>
  122. </body>
  123. </html>
  • calvi36
  • Graduate
  • Graduate
  • calvi36
  • Posts: 145
  • Loc: Glasgow, Scotland

Post 3+ Months Ago

Bogey, can you help, now had 300+ from this today and its bursting my fkin titz now.
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8413
  • Loc: USA

Post 3+ Months Ago

Yes I will today after I come home from work... sorry about not being on sooner... 4th of July and all... I will help you out buddy.
  • calvi36
  • Graduate
  • Graduate
  • calvi36
  • Posts: 145
  • Loc: Glasgow, Scotland

Post 3+ Months Ago

Hi Bogey,

Thanks for your offer of help. Being in the UK the 4th of July doesnt mean anything as it's not a holiday. I ended up going onto rentacoder to find someone to do it for me. Every time I tried to put in the captcha details it screwed the contact page up.
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8413
  • Loc: USA

Post 3+ Months Ago

Oh, so you don't need my help anymore?

Anyway, glad you got/will get the problem out of your list? of problems :lol:

Post Information

  • Total Posts in this topic: 10 posts
  • Users browsing this forum: No registered users and 28 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.