Reply to Re: php e-mail

Your name:

Reply:


Posted by bokke on 11/15/05 07:18

So I tried this ..

<?
$fname=$_POST['fname'];
$lname=$_POST['lname'];
$phone=$_POST['phone'];
$email=$_POST['email'];
$email = preg_replace( '/[\r\n]/', '', $email );
$comment=$_POST['comment'];
$to="michael@xxx.com";

$message="First Name:$fname\n\nLast Name:$lname
\n\nPhone:$phone\n\nTheir e-mail address is: $email\n\n
comment::\n\n$comment";
if(mail($to,"E-mail from MySite",$message,"From:$email\n")){
echo "Thank you $fname. Your Information has been inserted into my
contact database and forwarded to my E-Mail address. I'll get back to
you shortly.";
}else{
echo"There was a problem sending the message.";
}
?>

and today got this:

First Name:nachrally8358@xxx.com

Last Name:nachrally8358@xxx.com

Phone:nachrally8358@xxx.com

Their e-mail address is: nachrally8358@xxx.com

comment::

for
Content-Type: text/plain; charset=\"us-ascii\"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: could not so easily have torn himself away. need hardly
bcc: onemoreaddress@hotpop.com

fad1169020f931de3b2f524b3f0d3c9a
..

So I took it down again .. please help.

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

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