RE: [PHP] Re: Email Antispam
| From: | Steven Staples | Date: | Tue, 17 Apr 2012 20:41:32 +0000 |
| Subject: | RE: [PHP] Re: Email Antispam | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-317591@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Jim Giner [mailto:jim.giner@albanyhandball.com]
> Sent: April 17, 2012 4:33 PM
> To: php-general@lists.php.net
> Subject: [PHP] Re: Email Antispam
>
>
> "David Mehler" <dave.mehler@gmail.com> wrote in message
>
> news:CAPORhP5Cuzd0Hb9gBFLESNe5LofDODN64S2UOAuMWCb=zohn0g@mail.gmail.com...
> > Hello,
> >
> > I'm working on a site that has email addresses on it. I am not wanting
> > to use mailto links so as to avoid spam harvesters, I'd like another
> > solution so that mailto links would work but would not work with
> > spammers. I've tried several javascript-based solutions, but am not
> > able to get them to be consistent. It seems like once they're used
> > they revert to coded links. If anyone has any solutions I'd appreciate
> > it. I'm not sure I can do this in php, generate email addresses
> > dynamically then pass them to the client, it would be the same as the
> > spammer hitting the page. I'd prefer something self-hosted and
> > preferably light on the resources.
> >
> > Thanks.
> > Dave.
>
> Why not just put the contact's name/info on screen and then use the
> database behind it all to go get the email address and build the mail?
> Assuming that the site is using a db to hold these addresses already.
>
What about using an AJAX call onclick to pull the email address? Or nesting
ajax calls to hide it more gooder :P
Just thoughts, as I never (almost never) use mailto: tags, and build my
own
contact form.
Steve