Current location: Hot Scripts Forums » Programming Languages » PHP » Getting Spam from my mailform again!


Getting Spam from my mailform again!

Reply
  #21 (permalink)  
Old 07-03-09, 06:17 AM
wirehopper's Avatar
wirehopper wirehopper is offline
-
 
Join Date: Feb 2006
Posts: 2,516
Thanks: 20
Thanked 109 Times in 106 Posts
Shut off javascript in your browser and test it - see what happens.

I think the problem is that
PHP Code:

$SendFrom =    "$fname <$femail>"
should be
PHP Code:

$SendFrom =    $_POST['fname'].' <'.$_POST['femail'].'>'
, and similar changes should be made for the other fields.

The {$_POST['name']} notation may not be working either. You might want to try it without the {}.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #22 (permalink)  
Old 07-03-09, 03:10 PM
TheDemoSite TheDemoSite is offline
Newbie Coder
 
Join Date: Sep 2004
Location: in a database!
Posts: 28
Thanks: 1
Thanked 0 Times in 0 Posts
Try this:
FREE PHP Form Mailer - phpFormMailer - source code.

Free, easy to use and stops all the spam ;-)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #23 (permalink)  
Old 07-05-09, 09:31 PM
ruteckycs's Avatar
ruteckycs ruteckycs is offline
Coding Addict
 
Join Date: Jul 2009
Posts: 377
Thanks: 6
Thanked 10 Times in 10 Posts
Check out this script to help prevent bots. I was selling it for a while but if anyone wants a copy Ill jsut give it to them.

Spam Free Contact Form
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #24 (permalink)  
Old 07-05-09, 09:59 PM
wirehopper's Avatar
wirehopper wirehopper is offline
-
 
Join Date: Feb 2006
Posts: 2,516
Thanks: 20
Thanked 109 Times in 106 Posts
Spirit of the 'net.

Quote:
... if anyone wants a copy Ill jsut give it to them.
Good job.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Does it prevint SPAM !! Wanasa PHP 6 10-09-08 11:18 PM
SPAM via PHP contact form. seroxatmad PHP 6 11-28-06 02:24 AM


All times are GMT -5. The time now is 07:27 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.