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("[email protected]", $name, $subject, $message, "From: $sender"); } ?> Can anyone see any errors in my script? For some reason the email won't go through. Peace, Ant.. Link to comment https://forums.phpfreaks.com/topic/48241-error-in-script/ 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 Link to comment https://forums.phpfreaks.com/topic/48241-error-in-script/#findComment-235839 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.