Am sooo lost right now, i cannot think - have not had sleep in 3 days...
Im trying to get a mail script going for a mate of mine at his school, ive got this PHP written so far,
And ive got this HTML
I need it so it sends all the details that the user fills in, which are,
Rob
Im trying to get a mail script going for a mate of mine at his school, ive got this PHP written so far,
Code:
<?
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;
$name = $_REQUEST['name'] ;
$date = $_REQUEST['date'] ;
$undate = $_REQUEST['undate'] ;
mail( "MY EMAIL HERE (REMOVED DUE TO SPAMMERS)", "Feedback Form Results",
$message, $name, $date, $undate, "From: $email" );
header( "Location: /thankyou.html" );
?>
And ive got this HTML
Code:
<html><head><title>Feedback</title>
<center><img src="header.jpg" alt="WBHS" width="434" height="173" border="0" usemap="#logo" /> </center>
</head><body>
<center><form method="post" action="sendmail.php">
Refers email address <input name="email" type="text" /><br />
<br>
Username to be locked <input name="name" type="text" /><br />
<br>
Date of Locking <input name="date" type="text" /><br />
<br>
Date of Unlocking <input name="undate" type="text" /><br />
<br>
Please Describe the reason for locking the account:<br />
<textarea name="message" rows="15" cols="40">
</textarea><br />
<input type="submit" />
</form></center>
</body></html>
I need it so it sends all the details that the user fills in, which are,
- Refers email address
- Username to be locked
- Date of Locking
- Date of Unlocking
- Please Describe the reason for locking the account
Rob