Lol, I can do a form in two seconds:
Here.
PHP Code:
<?php
$youremail="youremail@name.com";
$file = "filename.php";
if($action=="process"){
mail($youremail,$subject,$message);
echo <<<END
Your message has been sent.
END;
} else {
echo <<<END
<form action="$file?action=process" method="post">
Your Name: <input type="text" name="name">
<br>
Your Email: <input type="text" name="email">
<br>
Your Message:
<br>
<textarea rows="10" cols="30"></textarea>
<br><br>
<input type="submit" value="Send a Message!">
</form>
END;
}
?>
Make sure to edit where it says $file="filename.php"; to the file name you make it on your server, and edit $youremail=... to your email.
Best regards,
- Jordan
Bookmarks