barney0o0 Posted February 28, 2008 Share Posted February 28, 2008 Hi Folks..sorry 2nd post in 2 days! Im trying to create a method to prevent spiders collecting emails addresses from text throughout a website. The text is updated via a simple form based cms. All the contact names and email address are held within a database. I was thinking about adding a link to a form which is populated by a specifc contact name and email address...would this prevent spam, or will it still follow along the sames lines? So, for example, the admin would add a link to a name...contactform.php?ID=23, then the form would process the form to the person with the email address of id 23. Does this sound like a good method, and is there someone who could hold my hand on this Many thanks in advance Quote Link to comment Share on other sites More sharing options...
The Little Guy Posted February 28, 2008 Share Posted February 28, 2008 That sounds like the best way... I would, if your trying to stop spam mail, is put a Image CAPTCHA, and if you want code/example, you can find one here: http://phpsnips.com/snippet.php?id=43 Quote Link to comment Share on other sites More sharing options...
barney0o0 Posted February 28, 2008 Author Share Posted February 28, 2008 cheers 'little guy'...i was thinking more about stopping the harvesting of email addresses with the body of text. If it is a good way to do it...any ideas where i should start? cheers Quote Link to comment Share on other sites More sharing options...
The Little Guy Posted February 28, 2008 Share Posted February 28, 2008 well then... don't place the email on the physical page, just a link to the id in the database so when it gets submitted, it links to that, grabs the email, then sends the email, without even getting printed to a page, and a spider/robot even get text to parse it the email and save it. Quote Link to comment Share on other sites More sharing options...
barney0o0 Posted February 28, 2008 Author Share Posted February 28, 2008 where you expecting this reply.... Do you how i can do this? So, send i would send ID to form. Whats the process to send the form whilst pulling in the email address from the ID? cheers Quote Link to comment Share on other sites More sharing options...
The Little Guy Posted February 28, 2008 Share Posted February 28, 2008 so you get the ID from your url, save that ID in a hidden field in the form, then when you pass the form to the email processing script, you grab that ID from the hidden field, and search the database for the correct email. Now you return the email, and send it to the person. You haven't posted anything on the page yet. when the email gets sent, redirect the user to a success page or something on those lines, and the email will have never been posted on the page, and has been kept private! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.