Wade, Thanks for the prompt response. This is the php script that I am using: <?php
$sendTo = "[EMAIL PROTECTED]"; $subject = "Info from Game Website."; $ip = $_SERVER['REMOTE_ADDR']; $name = $_GET['Name']; $email = $_GET['Email']; $comments = $_GET['Comments']; $from = "Reply-To: " . $name . "<" . $email . ">/n"; $headers = 'Content-type: text/html; charset=iso-8859-1'; $comments ="\r\n\n\n" . "Sender's ip address is " . nl2br($ip); mail($sendTo, $subject, $comments, $from); ?> <html> <body bgcolor="#282E2C"> <div align="center" style="margintop: 60px;color:#FFFFFF;font-size:12px;font-family:Tahoma;fontweight: bold"> Your message was sent. Thank you. </div> </body> </html> <script>resizeTo(300, 300)</script> When a visitor hits the send button on my contact form, they recieve the "your message was sent, thank you" screen, but the only information I recieve in my inbox is the senders ip address. No name or email address or the body of the message. Hope this helps Ashley Wilson --------------------------------- Hello Ashley, We post below the previous e-mail in this group. Your problem is with the line - $comments ="\r\n\n\n" . "Sender's ip address is " . nl2br($ip); Perhaps this should be - $comments = "\r\n\n\n" . $comments . "\r\nSender's ip address is " . nl2br($ip); There are also other issues - You have this line that is not doing anything usefull - $headers = 'Content-type: text/html; charset=iso-8859-1'; And this - $comments ="\r\n\n\n" . "Sen.... Perhaps should be - $comments ="\r\n\r\n" . "Sen.... Also you have no filter in the input leaving your script open to abuse. The headers in an e-mail are separated from the body by a "\r\n\r\n" while each header is separated by "\r\n" As you are not filtering the From e-mail address and the From address ia a part of the headers then someone can do this - From: [EMAIL PROTECTED]:[EMAIL PROTECTED];[EMAIL PROTECTED] etc Try this - $comments = $_GET['Comments']; $comments = str_replace("\r\n", "\n", $comments); $comments = str_replace("\n.", "\n..", $comments); // for windows servers And ... well some code woulld be easier - <?php $to = "[EMAIL PROTECTED]"; $subject = "Info from Game Website."; $message = $_GET['Comments']; // don't forget to stripslashes on older versions of php $message = str_replace("\r\n", "\n", $message); // for MAC users $message = str_replace("\n.", "\n..", $message); // for windows servers $ip = $_SERVER['REMOTE_ADDR']; $message .= "\n\n" . "Sender's ip address is " . nl2br($ip) . "\n"; $email = $_GET['Email']; $email_allow = "abcdefghijklmnopqrstuvwxyz"; $email_allow .= strtoupper($email_allow); $email_allow .= "._@"; $email = substr($email, 0, strspn($email, $email_allow)); $name = $_GET['Name']; $name = str_replace("\r", "", $name); $name = str_replace("\n", "", $name); $name = str_replace("\", "", $name); $from = "From: " . $name . "<" . $email . ">"; $reply = "Reply-To: " . $name . "<" . $email . ">"; $headers = $from . "\r\n"; $headers .= $reply . "\r\n"; $headers .= "Content-type: text/html; charset=iso-8859-1" . "\r\n"; // last "\r\n" above may not be nessesary mail($to, $subject, $message, $headers); ?> Just hand typed so may have bugs - I will test it for you if you tell me it doesn't work.