PHP contact form [ what have i done wrong?]

Soldato
Joined
9 Dec 2006
Posts
9,287
Location
@ManCave
not sure what ive done wrong it goes to the send.php but do not get an email. ive changed mail for secruity reasons

Form it self
PHP:
<form method="post" action="send.php">
Description <input type="text" name="desc" />
Steps to Reproduce<input type="text" name="steps" />
Page Found on<input type="text" name="page" /><br><br>
Date Found<input type="text" name="Date" />
Progress<input type="text" name="progress" />
Date Fixed<input type="text" name="Date_Fixed" /><br><br>
Verfied Date<input type="text" name="Verfied" />
Severity <select name="Severity">
<option value="High">High</option>
<option value="Medium">Medium</option>
<option value="Low">Low</option>
</select><br>

<input type="submit" value="submit me sexy" name"submit" />
<input type="reset" value="Reset Form" name="submit">
</form>

Submit post page
PHP:
<?php
$desc = $_POST['desc'];
$steps = $_POST['steps'];
$page = $_POST['page'];
$Date = $_POST['Date'];
$progress = $_POST['progress'];
$Date_Fixed = $_POST['Date_Fixed'];
$Verfied = $_POST['Verfied'];
$Severity = $_POST['Serverity'];
$Reciever = "[email protected]";
$subject = "Contact";
$mailheader = "From Database";
$message = " From $desc \n Steps $steps \n Page $page \n Date $Date \n progress $progress
Date $Date_fixed \n Verfied: $Verfied \n Severity $Serverity \n Reciever $reciever \n subject $subject 

mail($Reciever, $subject, $message);
echo "Thankyou";

?>
 
Back
Top Bottom