How can i make it so i can make a form on my site that people can suggest things or contact me. How can i make it so i can read them?
How can i make it so i can make a form on my site that people can suggest things or contact me. How can i make it so i can read them?
There's a few ways you could go about doing this. One would be to simply take the user's input from the form, and use a server side script to email it to your email address. Another option would be to take that information and save it in a database of some kind. I'd suggest the former as it's probably the easiest.
Google will give you plenty of examples of how to do either of these things.![]()
well what should i google?
LOL
Try "php form email" or "php form e-mail headers" or "php form email script".
If you're struggling, PM me and I'll help you along the way. I won't write an entire script for you though!
Suggestion.. Learn first how to create a form in html.
Code:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <form name="form1" method="post" action=""> <input type="text" name="textfield"> <input type="submit" name="Submit" value="Submit"> </form> </body> </html>
Last edited by freecrm; 10-20-2008 at 06:57 AM.
May be some of these links may be userful for you.
http://www.kirupa.com/web/php_contact_form.htm
http://www.roscripts.com/Create_a_si...in_PHP-63.html
[LEFT][B]Sunil Sankar
-------------------------------------------------------------------------
well, i did the first one, and i set it up right and got this when i tryed to set it!
Data has been submitted to <!--Meh E-Mail Blocked FTW-->
Warning: mail() has been disabled for security reasons in /home/<cpanel-user blockage!>/public_html/mailer.php on line 13
and the otherone seems confuzing as hell
Last edited by rs.top; 10-20-2008 at 04:34 PM.
You need to upgrade your PHP to intermediate to use mail(). Do this on your x10 account page (www.x10hosting.com/account)