hi there, I am working on a website which was designed and developed by some other designer. The website contains a simple enquiry page with lots of text fields. And as usual the client is getting lots of spam from it Is there a way to add simple captcha or some kind of human verification to the form without much of coding? The main purpose is to stop spam.
You could try adding something like a quick math puzzle that displays random numbers and asks for a result
This is what I am looking at. I have downloaded the Number one. But there are no instructions to get it running? Can you help!
a quick and easy way to make a captcha is create a new bitmap based on a variable hidden in the pages session. Session["capchacode"] = new random().Next(1,99999); string captchacode = (string)Session["capchacode"]; now generate an image and display the string of random stuff then just do a... if text entereed == captchacode
Unpack captcha.asp somwhere in your application. You can show captcha image in your application: <img id="imgCaptcha" src="captcha.asp" /> This will set session("ASPCAPTCHA") to value from picture. Then you can simply test if value from some input field is equal to session("ASPCAPTCHA") Sample is in test.asp View attachment captcha.asp View attachment test.asp
The best solution to add a captcha on your website is to use a built in API available for CAPTCHA over the internet. Please write and search on google about captcha in the technology you want to search out. I am working as a developer from last 2 years implemented the same mechanism for our websites to prevent from spam entries.. Regards