How To Stop Spam Robots From Submitting Forms Preventing Spamming PHP
RegisterLogin
How To Stop Spam Robots From Submitting Forms Preventing Spamming PHP
Post Description: How To Stop Spam Robots From Submitting Forms Preventing Spamming PHP
Tags: How, To, Stop, Spam, Robots, From, Submitting, Forms, Preventing, Spamming, PHP
This Post Was Posted On Feb 29, 2008 By wallpaperlinks #1846
Post Description: How To Stop Spam Robots From Submitting Forms Preventing Spamming PHP
Tags: How, To, Stop, Spam, Robots, From, Submitting, Forms, Preventing, Spamming, PHP
This Post Was Posted On Feb 29, 2008 By wallpaperlinks #1846
How To Stop Spam Robots From Submitting Forms Preventing Spamming PHP by wallpaperlinks
He asked for my help on how to stop this.
One way to stop it by puttin a captcha in your forms.
What is captcha? CAPTCHA stands for:
completely automated public Turing test to tell computers and humans apart,
CAPTCHAs are used to prevent bots from using various types of computing services or collecting certain types of sensitive information. Applications include preventing bots from taking part in online polls, registering for free email accounts (which may then be used to send spam) and collecting email addresses. CAPTCHAs can prevent bot-generated spam by requiring that the (unrecognized) sender pass a CAPTCHA test before the email message is delivered, but the technology can also be exploited by spammers by impeding OCR detection of spam in images attached to email messages. CAPTCHAs have also been used to prevent people from using bots to assist with massive downloading of content from multimedia websites. They are used in online message boards and blog comments to prevent bots from posting spam links as a comment or message.
basically you can us CAPTCHA by putting a confirmation on the form, kinda like a picture or an image with numbers and letters and the user has to eneter the number of letter on the image, then validate the information, if it matches with what's in the image, the the form is approved, otherwise, it fails back to the user. and in most cases, it will fail back to the spambot.
my suggestiong to our customer was to use the ege() function in their PHP form. In his case, if any information in the form had the character "<", the form would fail
Code:
ereg('<', $form_info )
after we implemted the ereg() function, he stopped getting those fake contact us.
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
http://www.webune.com/for
#4709 1
webune/forums/how-to-stop-spam-robots-from-submitting-forms-preventing-spamming-php-t679.html
Dec 21, 2010 Reply Report abuse
alicia
#2068 2
my number scheme is 123 456 789 0
Feb 14, 2008 Reply Report abuse
brother
#2067 3
If you can't put an image, the easiest thing you can do is to put a question. something like this:
question: what is 2 + 2
answer: 4
so put a text field to receive the correct answer and if the wrong answer if given, then reject the form.
question: what is 2 + 2
answer: 4
so put a text field to receive the correct answer and if the wrong answer if given, then reject the form.
Apr 26, 2007 Reply Report abuse
chaps
#2066 4
another way to stop robots from spaming your webstie by submitting automatically your web forms is to put an image so that the user can enter. this is the best way to avoid spaming on your web site.
Feb 06, 2007 Reply Report abuse
Leave Your Comments...
©2011 Webune Forums - Thu Dec 22, 2011 3:17 pm
Powered by: Webune Forums V3
Powered by: Webune Forums V3