NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > General Marketplace > Web Development > Web Development Wanted
Reload this Page HTML Email Forms

Web Development Wanted Requests for websites, templates, custom programming, logos or graphics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 01-08-2006, 01:47 PM THREAD STARTER               #1 (permalink)
NamePros Member
Join Date: Jan 2006
Posts: 108
TutorialWizard is an unknown quantity at this point
 



HTML Email Forms


I would like to set up an email form on my site (http://www.tutorial-wizard.com) for people to easily and quickly submit their tutorials. This form will be for a submit button to send several fields to my email quickly. There is no deadline or set price, so I will be taking any quotes on here. Anyone who has any offers, please post here and I will get back to you on it.
__________________
open...
TutorialWizard is offline  
Old 01-08-2006, 04:22 PM   #2 (permalink)
NamePros Regular
Join Date: Dec 2005
Posts: 210
wackyjoe is on a distinguished road
 



This is just a basic contact form...edit its fields to fit yours



The actual form:
Code:
<form action="mail.php" method="post">

Your Name: <input type="text" name="name"><br>

E-mail: <input type="text" name = "email"><br><br>

Your Comments:<br>

<textarea name="comment"></textarea><br><br>

<input type="submit" value="Tell Us!">
-=-=-=-=
save this as mail.php:
-=-=-=-=
Code:
<?

$name=$_POST['name'];

$email=$_POST['email'];

$comment=$_POST['comment'];

$to="your@email.com";

$message=" $name sent you a comment on your site.\n They said $story\n\n Their e-mail address was: $email";

if(mail($to,"Comments From Your Site",$message,"From: $email\n")) {

echo "Thanks for your comments! That’s the only way we can improve our site!";

} else {

echo "There was a problem sending your story. Please check that you filled in the form correctly.";

}

?>
wackyjoe is offline  
Old 01-08-2006, 06:38 PM THREAD STARTER               #3 (permalink)
NamePros Member
Join Date: Jan 2006
Posts: 108
TutorialWizard is an unknown quantity at this point
 



Thanks to both of you for posting. I got it to work finally, and thank you for the information on how to code that in .php.
__________________
open...
TutorialWizard is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Email Marketing Domains Isis Domains For Sale - Make Offer 0 12-16-2005 04:21 PM
Registrar wont release my domain. domainabilities Domain Name Discussion 17 04-07-2005 12:00 AM
HTML: Forms mak CODE 5 01-08-2005 07:29 PM
Create HTML Forms in an instant with htmlforms.com Cyphix For Sale / Advertising Board 2 11-09-2004 12:49 AM
HTML code in forms JustJo Web Design Discussion 4 05-06-2004 07:31 AM

Liquid Web Smart Servers  
All times are GMT -7. The time now is 03:09 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger