/    Sign up×
Community /Pin to ProfileBookmark

How to do simple spam protection for form inputs?

I enclose image as I would like to do simple spam protection and prevent automated sign-ups in registration forms.

How to do it this simple Captcha? I enclose image

[upl-file uuid=a060eed4-20ba-4a3c-976a-00377bce8134 size=8kB]Spam_validation.jpg[/upl-file]

to post a comment
PHP

4 Comments(s)

Copy linkTweet thisAlerts:
@stephan_gerlachJul 26.2007 — I am not sure how good this kind of spam protection is. I think it would be quite simple to get the 7 + 4 out of the html code and then actually calculate and post the result to your page.

I think spam protection using an image with characters and numbers is more secure. There is a really simple tutorial which is easy to follow at thie link.

http://www.codeproject.com/useritems/Web_Security.asp

Hope it will help
Copy linkTweet thisAlerts:
@toplisekauthorJul 26.2007 — Hi, thank you for reply.

I have sofisticated Captcha for registration form but need also simple for conatct form.

Can you give me advise how to do it with PHP?
Copy linkTweet thisAlerts:
@stephan_gerlachJul 26.2007 — why can't you use the same captcha which you already used for registration?
Copy linkTweet thisAlerts:
@toplisekauthorJul 26.2007 — Because for registration shoul dbe more prevented as on contact form
×

Success!

Help @toplisek spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.15,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...