View Full Version : How to prevent spambot from detecting emails from forms
gm1234
10-15-2004, 01:34 AM
People shift from providing email addresses to using forms (for contact) in order to avoid spam
bots. But there are some new spam bots today which can detect email address even through forms
present on a website. Any solution to prevent this?
generally the form action is as follows
<form action="xyz@xyz.com">
Any other way this can be written to prevent it from being detected by spam bots?
If you are going to use forms, dont put any type of email in the html at all. Instead, just use a unique identifier,which your script will then parse and pair up the identifier to an email address.
llbbl
10-21-2004, 09:48 AM
Or,
Kill The Bots...
That's not possible.
If you are going to use forms, dont put any type of email in the html at all. Instead, just use a unique identifier,which your script will then parse and pair up the identifier to an email address.
So what dang is saying you remove the email from the HTML entirely having it present only in your database. Then an number is associated with each email addy in the database. That number can then be used to find the email address at a later point.
Another and similar way to do it is to have the email of where it is going in the script itself instead of in a database. The user fills out the forum of who he wants to contact by selecting from a drop down menu " LEGAL, HR, PRESIDENT, SALES, CUSTOMER SERVICE" and then have these names correspond to an address. I suppose the email could also exists in a database and you do a query based on their selection.
Anyways ... the form tag might look something like this.
<form name="form1" method="post" action="/cgi-bin/contact.pl">
llbbl
10-21-2004, 09:58 AM
Perl, PHP, ASP and C# will all hide variables such as email addresses from the user of the page unless they need to see it.
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.