please can anybody
Posted: Tue Dec 02, 2008 7:02 am
please can anybody tell me how i can run this html with phpscript without hosting
<form method="post" action="sendmail.php">
Email: <input name="email" type="text" /><br />
Message:<br />
<textarea name="message" rows="15" cols="40">
</textarea><br />
<input type="submit" />
</form>
<?php
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;
mail( "yourname@example.com", "Feedback Form Results", $message, "From: $email" );
header( "Location: http://www.example.com/thankyou.html" );
?>
<form method="post" action="sendmail.php">
Email: <input name="email" type="text" /><br />
Message:<br />
<textarea name="message" rows="15" cols="40">
</textarea><br />
<input type="submit" />
</form>
<?php
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;
mail( "yourname@example.com", "Feedback Form Results", $message, "From: $email" );
header( "Location: http://www.example.com/thankyou.html" );
?>
