Secure "Email Me" form

Soldato
Joined
21 Apr 2003
Posts
4,328
I think people are being put off by not being able to email me easily from my site (I'm not putting a link in, that means spam++ and I'm getting enough already) - so what's the best way to put in a simple form where people can fill it in to mail me?

Also, if I do such a form, is there a way to keep spiders from crawling in and finding out my address, or maybe get one of those image validation thingies?

Thanks :)
 
As an alternative to a secure form, why not create a small image with your email address on? Then they can just start their email client, type your address in and voila.

Or if your users are lazy, go for a form :p
 
Well my contact page already has "email (a) sarawallen . com" but I wonder if that's too confusing for some people :p

Yeah an image would be a good alternative, hrrm...
 
sara said:
Doh, yeah just looked up a bit more. So the email is in a .php file - wonder if there's any way to keep spam spiders off it...

Your e-mail address won't be visible because when you review the source code, the PHP tags are removed and everything that is 'echoed' is just printed as plain text and the variables, functions, etc are not displayed and the email address would be a variable :)
 
Trigger - doh of course, that is true! I'm new to all this PHP malarkey, you know.

So a simple PHP form-to-mail with a CAPTCHA image should do nicely. Brill :) Will Google some more...
 
yea pretty much except im trying to get the code work for that one i found and even though i just copied the code straight from it, its throwing errors at me and wont display the image :confused:
 
DJ Binks said:
Indeed, been getting a lot of spam from them and cant get CAPTCHA to work :(

tried a CAPTCHA on mine, and i think my host doesnt support the image creation. Which leaves me with a problem. Is there anyway to check if my host has it enabled. For the very last resort im gonna create twenty or so random images and just write a small script to pick one when the page is loaded and set a variable to compare with the users' input.
 
Back
Top Bottom