PX : code

A Simple Feedbackform by Thomas
Download this code


*/Make a new php file and call it Email2.php3/*
<?

PRINT "<CENTER>";PRINT "Hello, $name.";
PRINT "<BR><BR>";
PRINT "Thank you for your feedback.<BR><BR>";
PRINT "</CENTER>";

mail("thomas@itcp.com",*/change to your E-mail address/*
"Feedback.","hi thomas */change to your name/*

My comment is:$comment. 

My E-mail is $email.


Greetings from $name.");

?>


 */ put this in your the Body of your page
<table WIDTH="400" >
<tr>
<td ALIGN=LEFT><form ACTION="email2.php3" METHOD="POST">Your name:
<br><input TYPE="text" NAME="name" SIZE="20" MAXLENGTH="30">
<p>Email:
<br><input TYPE="text" MAXLENGTH="40" WIDTH="20" NAME="email">
<br>Comment:
<br><textarea ROWS="11" COLS="40" NAME="comment"></textarea>
<p><input TYPE="submit" VALUE="Send it!">
<br></form></td>
</tr>
</table>

Example on Http://www.itcp.com/~islands/Feedback/

Please give me a feed back on the script there

Comments or questions?
PX is running PHP 5.2.17
Thanks to Miranda Productions for hosting and bandwidth.
Use of any code from PX is at your own risk.