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" );
?>
please can anybody
Moderator: General Moderators
- novice4eva
- Forum Contributor
- Posts: 327
- Joined: Thu Mar 29, 2007 3:48 am
- Location: Nepal
Re: please can anybody
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

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
