
How do I create an easy to use web form?
#1
Posted 28 July 2006 - 09:43 PM
Register to Remove
#2
Posted 28 July 2006 - 11:23 PM
Here is a sub-Forum at my home Forum PCPitstop where they work on Websites and coding all day long.
You might want to post there, or just lurk around and see what you can pick up from reading other posts.
You'll also be able to "Search" the Forum for similar questions.
http://forums.pcpits...hp?showforum=27
Best Regards
If you wish, you may Donate to help keep us online.
#3
Posted 29 July 2006 - 01:52 AM
<html> <body> <form action="MAILTO:crow@crowscorner.net" method="post" enctype="text/plain"> <h3>This form sends an e-mail to me at Crow@crowscorner.net.</h3> Name:<br> <input type="text" name="name" value="yourname" size="20"> <br> Mail:<br> <input type="text" name="mail" value="yourmail" size="20"> <br> Comment:<br> <input type="text" name="comment" value="yourcomment" size="40"> <br><br> <input type="submit" value="Send"> <input type="reset" value="Reset"> </form> </body> </html>
"I am not sure what these four 9's mean.. but I think this Ace is kinda high"
#4
Posted 29 July 2006 - 05:16 PM
#5
Posted 24 January 2008 - 05:38 PM

Edited by Braiden, 24 January 2008 - 05:40 PM.
#6
Posted 25 January 2008 - 10:38 AM

Kaspersky Online Virus Scan | Trend Micro HouseCall | Windows Live OneCare | Secunia Software Inspector
#7
Posted 06 February 2008 - 05:28 PM
If you want to send server based email I suggest using a server that has PHP functionality and or paying for hosting on a server that provides it.
Here is the sample code that uses the PHP function mail()
Send Email from a PHP Script Example
The first argument to this function is the recipient, the second specifies the message's subject and the third one should contain the body. So to send a simple sample message, we could use:
<?php
$to = "recipient@example.com";
$subject = "Hi!";
$body = "Hi,\n\nHow are you?";
if (mail($to, $subject, $body)) {
echo("<p>Message successfully sent!</p>");
} else {
echo("<p>Message delivery failed...</p>");
}
?>
That's it!
Once you have the basics of sending mail through PHP you can integrate it into HTML based forms as you have already used with the Mailto: setting
Here is a link to a good tutorial
http://www.thesitewi...edbackphp.shtml
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users