toshka Posted April 23, 2007 Share Posted April 23, 2007 Hello everyone! Stuck with a script... again. This script is linked to a flash contact form which can be viewed at www.thegladman.com <?php $name = $_REQUEST["name"]; $subject = $_REQUEST["subject"]; $message = $_REQUEST["message"]; $sender = $_REQUEST["sender"]; $full_message = $_SERVER['REMOTE_ADDR'] . "\n\n" . $message; $message= $full_message; $name = stripslashes($name); $message = stripslashes($message); $subject = stripslashes($subject); $sender = stripslashes($sender); $subject = "The Gladman Contact - ". $subject; if(isset($name) and isset($message) and isset($subject) and isset($sender)){ mail("sales@thegladman.com", $name, $subject, $message, "From: $sender"); } ?> Can anyone see any errors in my script? For some reason the email won't go through. Peace, Ant.. Quote Link to comment Share on other sites More sharing options...
btherl Posted April 23, 2007 Share Posted April 23, 2007 Check here: http://sg2.php.net/manual/en/function.mail.php Your mail() seems to have an extra parameter Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.