You are here: Re: How 2 protect my email address? « PHP Language « IT news, forums, messages
Re: How 2 protect my email address?

Posted by Andrew Bailey on 03/28/07 08:35

"Martin Mandl - m2m tech support" <martin.mandl@gmail.com> wrote in message
news:1175070592.285015.208940@d57g2000hsg.googlegroups.com...
> On Mar 28, 9:48 am, mouton <nos...@nospam.com> wrote:
>> Hello,
>>
>> I have a contact form on my website that sends form data to a php page
>> where the php mail() function collects and send them to me.
>>
>> On this action page, one variable contains my email address in the form:
>> $myEmail = "myem...@blah.com";
>>
>> The trouble is that I receive a lot of spam through this and do not know
>> how to avoid that. Could you please help me?
>>
>> Thank you.
>

Hi Martin,

Try...

$myEmail1 = "myem...";
$myEmail2 = "@";
$myEmail3 = "blah.com";

$myEmail = $myEmail1 + $myEmail2 + $myEmail3;

Hope this helps

Andy

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация