Yup, I think I need a little help :nervous: Here's what I've done:
I've replaced that URL with emailit.php
Created a new .php file and copied the code from http://www.karinne.net/scripts/?s=3
Saved the file as emailit.php and uploaded both files.
Now, when you try to send a message via feedback form, you will be directed to www.pctechdaniel.com/index.htm (By default it was sent.php but I've replaced it with index.htm). But I'm not recieving the message @ racdan_f@onvol.net Do I have to use a domain e-mail, because this is POP3? Here's the code just in case.
Feedback Form:
Code:
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<form name="form1" method="post" action="emailit.php">
<input type="hidden" name="subject" value="DCS Feedback Form Reply">
<input type="hidden" name="recipient" value="racdan_f@onvol.net">
<input type="hidden" name="redirect" value="http://www.pctechdaniel.com/index.htm">
<tr>
<td align="right"><font size="2" face="Verdana">Your Name:</font> </td>
<td><input type="text" name="name"></td>
</tr>
<tr>
<td align="right"><font size="2" face="Verdana">Email Address:</font> </td>
<td><input type="text" name="address"></td>
</tr>
<tr>
<td align="right"><font size="2" face="Verdana">Your Age:</font> </td>
<td>
<select name="age" size="1">
<option value="10-20">10-20</option>
<option value="21-30">21-30</option>
<option value="31-50">31-50</option>
<option value="51-70">51-70</option>
<option value="71-100">71-100</option>
</select><tr></td>
<td align="right"><font size="2" face="Verdana">Sex:</font> </td>
<td><font size="2" face="Comic Sans MS">
Male <input type="radio" name="Male" value="Male"> Female <input type="radio" name="Female" value="Female"></font></tr>
<tr>
<td valign="top" align="right"><font size="2" face="Verdana">Feedback:</font>
<td><textarea name="feedback" rows="6" cols="35"></textarea></td></tr>
<tr>
<td> </td>
<td><input type="submit"> <input type="reset"></td>
</tr>
</form>
</table>
emailit.php:
Code:
<?php
$name = addslashes($_POST['name']);
$email = addslashes($_POST['email']);
$subject = addslashes($_POST['subject']);
$comments = addslashes($_POST['comments']);
$sendto = "racdan_f@onvol.net";
$body = "Message from ". $name ."\n Comments = ". $comments;
mail($sendto, $subject, $body, "From:$email");
header( 'Location: index.htm' );
?>