I only have $10 in my PayPal account, and, unless I really know what I am doing with web hosting, I am not trying anything with that.
This is what I want to do.
Iweb-- regular html form in html snippet say:
<html>
<form action="sendmail.php" method="post" name="test">
<input type="text" name="email">
<input type="text" name="message">
<input type="submit" value="Send!">
</form>
</html>
Easy, right?
Now, for the php task:
<?php
$email = $_REQUEST['email'] ;
$message = $_REQUEST['message'] ;
mail( "myemail@host.com", "Mail!",
$message, "From: $email" );
header( "Location: http://blablabla.net" );
?>
This is all I want to do, and for the online form hosting, it either costs money or they only give you 2 or 3 forms. I like Wufoo, but i am not paying for that.
I looked into PHP because I wanted to process as many forms as a like, not just 2 or 3, and I would use all of the forms that I will put into my website.
Also, for this task ( HTML & PHP form processing ), whenever I double-click the sendmail.php file in my users/sites folder, I get an email with nothing in it because I opened the file. Is there any way to stop that?
Thanks...