Visual C

 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me



Go Back   Tutorialized ForumsDesktop ProgrammingVisual C

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Tutorialized Forums Sponsor:
  #1  
Old May 3rd, 2007, 05:33 AM
lnenad lnenad is offline
Contributing User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 22 lnenad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 24 sec
Reputation Power: 0
Send a message via MSN to lnenad Send a message via Skype to lnenad
email form?

How to create a simple e-mail form that will send the e-mail immediately without opening your email editor!?

Reply With Quote
  #2  
Old May 6th, 2007, 06:59 AM
mwasif mwasif is offline
Contributing User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Saudi Arabia
Posts: 7 mwasif User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 30 m 35 sec
Reputation Power: 0
This is the simplest form mail.
PHP Code:
<?
if(isset($_POST["send_mail"]))
{
    
$name $_POST["name"];
    
$message $_POST["message"];
    
$to_email "youremail@domain.com";
    
    if(
mail($to_email"Form submitted"$message))
    {
        echo 
"<b>mail sent</b>";
    }
}
?>
<html>
<body>
<form action="" method="post">
<table>
    <tr>
        <td>Name</td>
        <td><input type="text" name="name" /></td>
    </tr>
    <tr>
        <td>Message</td>
        <td><textarea name="message" cols="40" rows="10"></textarea></td>
    </tr>
    <tr><td colspan="2"><input type="submit" value="Submit" name="send_mail" /></td></tr>
</table>
</form>
</body>
</html>


Search on google for available form scripts.

Reply With Quote
  #3  
Old May 14th, 2007, 09:46 PM
Felix63 Felix63 is offline
Contributing User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: May 2007
Posts: 18 Felix63 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 7 m 6 sec
Reputation Power: 0
Sendmail script

Hey How's it going - I'm new to the forum and have a question about the mail script. I have taken a course in html and css, however never really delved into scripts. I want to create a form for the local youth football team, so that they can register for football every year. There will only be 100 or a little more registering. Will this be an alright method of doing this? Also is that script the only code you have to put on the html page? Thanks.

Reply With Quote
  #4  
Old May 15th, 2007, 12:29 AM
mwasif mwasif is offline
Contributing User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Saudi Arabia
Posts: 7 mwasif User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 30 m 35 sec
Reputation Power: 0
Quote:
Also is that script the only code you have to put on the html page?

Yes BUT there is no validation performed in this script.

It will be better to start a new thread and perform some googling to search for the form mail tutorial scripts.

Reply With Quote
  #5  
Old May 17th, 2007, 09:59 PM
Felix63 Felix63 is offline
Contributing User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: May 2007
Posts: 18 Felix63 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 7 m 6 sec
Reputation Power: 0
I have been searching. Even my html books really are not clear. I'll just have to keep on trying to piece it together with trial and error. Thanks anyway.

Reply With Quote
Reply

Viewing: Tutorialized ForumsDesktop ProgrammingVisual C > email form?


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.

© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap