Forum Moderators: coopster

Message Too Old, No Replies

Replacing email links with form challenge

Simple solution to avoid spam

         

silverbytes

1:56 am on Jul 15, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I tried encoding email links with several methods in past but I receive too much spam anyway, so I need to replace some 50 email addresses in my sitewith a form.

Actually I need the email link to send the message with some preformated info (small copy in body) to the main email address(my clients email address) and a copy to myself.

But I need to know how to make to tell the new link that will call the form for which client is the message and how to set the form to be sent to me and the client. And of course I'm afraid using my email address be again harvested and spammed again

Can you help me find the right way? Can that be done in php? Other ways?

Dijkgraaf

2:53 am on Jul 15, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Put the clients e-mail addresses into a table with a unique key.
When linking to the form, have?clientid=key as part of the URL.
After it has been submitted the form can use the key to look up the correct e-mail address and use it to send the submitted information to your client.

P.S. Make sure you VALIDATE the key to make sure that it is of the datatype and lenght you expect so that it can't be used for SQL injection.

silverbytes

1:44 pm on Jul 15, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thank you I think I understand the concept but have no idea about how to do it.