Re: Email Antispam
| From: | Ashley Sheridan | Date: | Tue, 17 Apr 2012 20:40:06 +0000 |
| Subject: | Re: Email Antispam | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-317590@lists.php.net to get a copy of this message | ||
Marc Guay <marc.guay@gmail.com> wrote:
>Is there a reason for you not to build a contact form?
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
It could be for a company, which in the UK I believe requires several bits of contact information.
There is no php way of doing what you ask, php is all on the server after all. The only solution is
javascript, but again, if its for a company, depending on country, you may have a legal requirement
to make it accessible, which means basic required details available without script.
Having said that, with a contact form you may be ok. You could use javascript to output the email
address link. I wrote one a while back:
http://www.ashleysheridan.co.uk/coding/javascript/Anti-Spam+Email+Script
Hope it helps?
Thanks,
Ash
http://ashleysheridan.co.uk