Welcome to WebmasterWorld Guest from 184.108.40.206
Forum Moderators: open
The idea of course is to avoid e-mail harvesters/spam. I am using the following on line tool to encrypt my links.
If you know off a better way to accomplish this let us know.
<input type=hidden name="addressto" size=40 value="email@example.com">
Are you saying harvesters can't extract an address from a hidden form field?
I added this little code to my page:
document.write('<a href=\"mailto:' + n + '@' + d + '\">');</script>
webmaster (@) mysite.com
But I was still getting SPAM sent to firstname.lastname@example.org. After a while it dawned on me that they are not only harvesting email-addresses - they are also making them, by prefixing "webmaster", "sales" etc. to my domain name.
In witch case the mail address appears in the hidden form field [...]
nono, of course this way the harvester still gets the address. The idea is to "hardcode" the address into the form mailer processing script itself (some examples here [simplythebest.net...] If you are already running such a script, remove the hidden field and check the script for a line with the mail command containing the parameter "From:". You should find a variable with the value from your hidden field there. Just replace it with the real e-mail-address, so the client (browser/harvester) will never see it.
The address is hard coded in the send part of the script witch is sitting in a folder that has "script execute" permission only no public access.
I believe with this level of permission the folder and its contents should be invisible to any outside party’s man or machine.