Page 1 of 1

please can anybody

Posted: Tue Dec 02, 2008 7:02 am
by hakimade
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" );
?>

Re: please can anybody

Posted: Tue Dec 02, 2008 10:22 am
by novice4eva
i would suggest you do
1. find about wamp, xxamp and others of that type....download/install
2. Download a php manual, learn to enable error reporting
3. Look up the functions in PHP manual and understand why SO MANY ERRORS!!!
4. Realize that although the problems/solutions were simple , it was particularly not easy to explain it straight-forward given the knowledge u had at the time


:google: