Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
Old 12-03-2006, 05:53 PM   #1 (permalink)
Contributing Member
 
Join Date: 06-09-04
Posts: 318
iTrader: 0 / 0%
Latest Blog:
None

devilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nice
Free spam blocking contact form?

I need a new contact form. Currently I use one of those generic formmail scripts, but I am getting so much spam.

Has someone written a custom contact form or know of a free one where there is a built in spam blocker?
__________________
Miscellaneous Editorials
devilzfan300 is offline  
Add Post to del.icio.us
Reply With Quote
Old 12-03-2006, 06:10 PM   #2 (permalink)
Junior Member
 
Join Date: 11-15-06
Posts: 12
iTrader: 0 / 0%
Latest Blog:
None

Colin-uk is liked by many
i got mine from hotscripts.com, maybe you could look in there
Colin-uk is offline  
Add Post to del.icio.us
Reply With Quote
Old 12-03-2006, 07:15 PM   #3 (permalink)
Contributing Member
 
Join Date: 06-09-04
Posts: 318
iTrader: 0 / 0%
Latest Blog:
None

devilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nicedevilzfan300 is just really nice
There are so many. Do you have a name?
__________________
Miscellaneous Editorials
devilzfan300 is offline  
Add Post to del.icio.us
Reply With Quote
Old 12-03-2006, 11:00 PM   #4 (permalink)
Member
 
Join Date: 11-28-06
Posts: 91
iTrader: 0 / 0%
Latest Blog:
None

TubHosting is liked by many
I use php for my simple contact form and than just run a filter through spamassassin as first filter and use thunderbird in build spam filter for second filter.

The easiest way to get rid of spam, is to forward your email to gmail, they will filter them and than have pop enable and forward it back to your mail
TubHosting is offline  
Add Post to del.icio.us
Reply With Quote
Old 12-04-2006, 04:57 AM   #5 (permalink)
Contributing Member
 
Foxtrck's Avatar
 
Join Date: 11-29-06
Location: Scotland, UK
Posts: 201
iTrader: 0 / 0%
Latest Blog:
None

Foxtrck is liked by somebodyFoxtrck is liked by somebodyFoxtrck is liked by somebodyFoxtrck is liked by somebodyFoxtrck is liked by somebody
Send a message via MSN to Foxtrck
Can you do decent validation with PHP? I have the following code in PHP for my form

PHP Code:
<?php 

    
if(isset($_POST['submit'])) { 
         
    
// define variables 
    
$name $_POST['name']; 
    
$email $_POST['email']; 
    
$country $_POST['country']; 
    
$comment $_POST['comment']; 
         
        
// validation area 
         
    // email headers LINE 14 
    
$headers .= "From: sitepage<email@email.com>\n";    $headers .= "X-Sender: <email@email.com>\n";         $headers .= "X-Mailer: PHP\n"
    
$headers .= "Return-Path: <email@email.com>\n";              
    
$subject "comments"

    
$emailbody 
    Name: $name 
    Email: $email 
    Country: $country 
    Comments: $comment 
        "


if(
mail("email@email.com"$subject$emailbody$headers"email@email.com")) { 
$message "<p>Your message was successfully sent</p>"
        } 
        else 
        { 
$message "<p>Sorry, your message could not be sent right now</p>"
        } 
    } 

?>
Works fine, although this message appears after send:
"Notice: Undefined variable: headers in F:\users\0401213\httpdocs\gt1\contact.php on line 14"
But this has no validation so anyone can send spam over and over and over. I don't just want an email filter as it means spammers are still doing it, just I am not getting it taking up bandwidth and resources.
Is there a way to properly validate all fields in PHP and possibly use Captcha? I don't know much about captcha's, are thjey run in cgi script or from db's?
Foxtrck is offline  
Add Post to del.icio.us
Reply With Quote
Old 12-04-2006, 07:37 AM   #6 (permalink)
Senior Member
 
Join Date: 11-09-06
Posts: 435
iTrader: 0 / 0%
Latest Blog:
None

NothingButNet is a jewel in the roughNothingButNet is a jewel in the roughNothingButNet is a jewel in the roughNothingButNet is a jewel in the roughNothingButNet is a jewel in the roughNothingButNet is a jewel in the rough
This is a great question I have as well. Isn't there just something you can do to encrypt (?) your email address so it can't be harvested through the form on your website? Luckily, I have a good anti-Spam system on my email, cause I get plenty.
NothingButNet is offline  
Add Post to del.icio.us
Reply With Quote
Old 12-08-2006, 05:07 PM   #7 (permalink)
Senior Member
 
hatchet's Avatar
 
Join Date: 10-11-03
Posts: 833
iTrader: 0 / 0%
Latest Blog:
None

hatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nice
http://www.themike.com/contact/
Download at the bottom of the contact form.
hatchet is offline  
Add Post to del.icio.us
Reply With Quote
Old 12-09-2006, 10:42 AM   #8 (permalink)
Contributing Member
 
lordspace's Avatar
 
Join Date: 05-30-06
Location: Canada
Posts: 673
iTrader: 0 / 0%
lordspace is just really nicelordspace is just really nicelordspace is just really nicelordspace is just really nicelordspace is just really nicelordspace is just really nicelordspace is just really nicelordspace is just really nicelordspace is just really nicelordspace is just really nicelordspace is just really nice
Send a message via ICQ to lordspace Send a message via Skype™ to lordspace
check this one

http://www.homelandstupidity.us/software/bad-behavior/

Svet
lordspace is online now  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Spam-free contact form? devilzfan300 Coding Forum 9 05-27-2007 11:16 PM
Prevent spam via contact form John M Web Design Lobby 7 05-11-2007 02:40 PM
newb: contact form (free)? Bansaw Coding Forum 5 02-19-2007 04:11 PM
free contact form? poster Web Design Lobby 6 11-13-2006 01:56 PM


Sponsor Links
Get exposure! Contextual Links V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 05:31 PM.
© Copyright 2008 V7 Inc
Powered by vBulletin
Copyright © 2000-2009 Jelsoft Enterprises Limited.


Search Engine Optimization by vBSEO 3.3.0 ©2009, Crawlability, Inc.