Spam and filters.
Thread poster: Yaotl Altan
| | Boris Kimel
Local time: 03:20
English to Russian
is one possible approach. Try googling it.
| | Samuel Murray
Local time: 02:20
English to Afrikaans
| Are you sure...? || Oct 29, 2008 |
Yaotl Altan wrote:
Some days ago, I've receiving spam through the forms I have in my website and I want to stop it now and forever
Are you sure the spam comes through the form? I'm asking because your e-mail address is clearly visible in the source code. And, I hit the submit button without filling in any information and it still accepted the post.
I don't know much about PHP but I'm sure you can integrate a NMS formmail script (written in Perl) in it -- it works with most web hosts that provide a CGI-BIN. In such a form, your mail address is invisible to visitors, and you can set it up to throw away any submissions that do not conform to certain rules (eg a valid e-mail address in the e-mail address field).
A friend of mine told me that I had to add a special code so computers will not be able to automatically fill these forms. The purpose is to display a number- or letter-based image filter which would be copied into a special field in order to stop this spam.
Yep, a captcha. Well, there are some PHP solutions for that, but I wonder if a captcha is really what you need.
Edited: more links:
http://www.thephppro.com/products/captcha/ (uses ASCII art, USD 20.00)
http://www.webcheatsheet.com/php/create_captcha_protection.php (images, freeware)
http://www.captchacreator.com/ (images, USD 40.00)
http://www.phpcaptcha.org/ (images, price unknown)
[Edited at 2008-10-29 18:35]
| || || |
| | megane_wang
Local time: 02:20
English to Spanish
| Samuel is right. I'm afraid || Oct 30, 2008 |
Wow, you have several e-mail addresses easily readable in your HTML page code.
Maybe using a Captcha will be an overkill in your case, but maybe this will help you (following what Samuel already said):
1. Remove that green link with a "mailto" inside, as fast as you can. Try to convince people to use the form
2. To send the form, use a php code that allows you to keep the e-mail outside the code of the page. Some ISPs have predefined PHP that allows you to put the e-mail in a config file. Did it come from your provider?
Note that removing the addresses of the page will help to avoid to receive "more" spam, but it's unlikely that you stop receiving "all" of it **sigh**
Ruth @ MW
Boris, Samuel, Ruth:
Thank you very much for your suggestions and help!
To report site rules violations or get help, contact a site moderator:
You can also contact site staff by submitting a support request »