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
[Back to original message]
|