RE: [PHP] Looking for Spam free php form
| From: | Steve Murphy | Date: | Mon, 17 Nov 2003 18:13:43 +0000 |
| Subject: | RE: [PHP] Looking for Spam free php form | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-169987@lists.php.net to get a copy of this message | ||
Is this what your looking for?
http://www.pfohlsolutions.com/projects/mailer/
-----Original Message-----
From: Philip Olson [mailto:philip@cornado.com]
Sent: Monday, November 17, 2003 1:08 PM
To: Chris Boget
Cc: David Buchmueller; PHP General
Subject: Re: [PHP] Looking for Spam free php form
> > I am looking for a canned php form which hides the recipient email from
> > prying eyes. Everything I have found uses a hidden field.
>
> If you only need the email address on the back end, why not encode it
> (using your flavor of choice) and stick that value in the hidden field. Then,
> upon submission, just decode and use.
Maybe I am misreading this question but why not just use id's
instead. For example, in your database you might have:
id name email
1 john john@example.com
2 fred fred@example.net
In the form you use the names, and unique ids, and the backend
will get the email addresses from the ids. This way they choose
names to send to but don't see the email addresses.
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php