New York Design & Development Forums  

Go Back   New York Design & Development Forums > Development > Website Programming
Connect with Facebook

Notices

Reply
 
LinkBack Thread Tools
Old 04-22-2006, 01:40 PM   #1 (permalink)
Member
Follower
 
Faucet's Avatar
 
Join Date: Apr 2006
Posts: 32
Faucet is on a distinguished road
Default Form's input to Email

Does anyone know or use a code (i think php?) that will send the input on a form, to a specified email?

Thanks in advance.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Faucet is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Google Bookmark this Post!Blink this Post!
Reply With Quote
Old 04-22-2006, 03:30 PM   #2 (permalink)
Senior Member
Fanatic
 
Cota's Avatar
 
Join Date: Mar 2006
Age: 33
Posts: 414
Cota is a glorious beacon of lightCota is a glorious beacon of light
Default

Here's one
http://www.christian-web-masters.com...il-form-2.html
Cota is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Google Bookmark this Post!Blink this Post!
Reply With Quote
Old 04-26-2006, 08:50 PM   #3 (permalink)
Member
Follower
 
Faucet's Avatar
 
Join Date: Apr 2006
Posts: 32
Faucet is on a distinguished road
Default

alright thanks.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Faucet is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Google Bookmark this Post!Blink this Post!
Reply With Quote
Old 04-27-2006, 07:05 AM   #4 (permalink)
Member
Enthusiast
 
lpxxfaintxx's Avatar
 
Join Date: Apr 2006
Age: 26
Posts: 69
lpxxfaintxx is on a distinguished road
Default

You should learn PHP, it's really simple and REALLY usefull. The form's input to email could've been made in literally 1 minute. Simple $_POST and sendemail functions.
lpxxfaintxx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Google Bookmark this Post!Blink this Post!
Reply With Quote
Old 04-29-2006, 02:23 PM   #5 (permalink)
Moderator
Aficionado
 
Contention's Avatar
 
Join Date: Mar 2003
Age: 31
Posts: 147
Contention is on a distinguished road
Default

Quote:
Originally Posted by lpxxfaintxx
You should learn PHP, it's really simple and REALLY usefull. The form's input to email could've been made in literally 1 minute. Simple $_POST and sendemail functions.
Do you have some custom code you'd like to post?
__________________
Misc Tutorials:

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- Tutorial on Flash Interval Managers

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- Simple Ajax tutorial for beginners

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- Tutorial on creating CSS tabs

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- Some things you should read before posting
Contention is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Google Bookmark this Post!Blink this Post!
Reply With Quote
Old 04-30-2006, 07:16 AM   #6 (permalink)
Member
Enthusiast
 
lpxxfaintxx's Avatar
 
Join Date: Apr 2006
Age: 26
Posts: 69
lpxxfaintxx is on a distinguished road
Default

Sure, I'll have it posted by monday. (In the tutorial section)
lpxxfaintxx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Google Bookmark this Post!Blink this Post!
Reply With Quote
Old 05-01-2006, 08:03 PM   #7 (permalink)
Member
Enthusiast
 
FatalityShard's Avatar
 
Join Date: May 2006
Posts: 91
FatalityShard is on a distinguished road
Default

Code:
<html>
<head>
<title> </title>
</head>
<body>
<form action="Contact_Form.php" method="GET">   
         <p />       
         <textarea type="text" name="firstname" rows="1"> First Name </textarea> 
         <br /> 
         <p />  
         <textarea type="text" name="lastname" rows="1"> Last Name </textarea> 
         <br />  
         <br /> 
         <textarea name="comment" id="formstyle" type="text" cols="30" rows="20"> Body </textarea> 
         <br /> 
         <input type="submit" id="formstyle" name="submit" value="submit"> 
         </form>
<?php
 if(isset($_GET['submit']))
 {
 $to = 'yourname@yourdomain.com';
 $firstname = $_GET['firstname'];
 $lastname = $_GET['lastname'];
 $comment = $_GET['comment'];
  echo '<br />';
 echo $firstname; 
  echo '<br />';
 echo $lastname; 
  echo '<br />';
 echo $comment; 
 }
 mail($to, $firstname, $lastname, $comment);
?>
</body>
</html>
Simple as that...
FatalityShard is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Google Bookmark this Post!Blink this Post!
Reply With Quote
Old 05-02-2006, 07:08 AM   #8 (permalink)
Member
Enthusiast
 
lpxxfaintxx's Avatar
 
Join Date: Apr 2006
Age: 26
Posts: 69
lpxxfaintxx is on a distinguished road
Default

Oops. Sorry, I was busy and I forgot to post it, but good job FatalityShard.
lpxxfaintxx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Google Bookmark this Post!Blink this Post!
Reply With Quote
Old 05-02-2006, 03:48 PM   #9 (permalink)
Member
Enthusiast
 
FatalityShard's Avatar
 
Join Date: May 2006
Posts: 91
FatalityShard is on a distinguished road
Default

PHP isn't that difficult, you just have to understand all the functions and how to apply them. That should get you started.
FatalityShard is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Google Bookmark this Post!Blink this Post!
Reply With Quote
Old 05-02-2006, 10:56 PM   #10 (permalink)
Junior Member
Casual Browser
 
Toucan42's Avatar
 
Join Date: Apr 2006
Age: 39
Posts: 23
Toucan42 is on a distinguished road
Default

Since the question was how to manage this in HTML I will assume a little javascript could be used as well. The href attribute of the <A> tag allows a mailto: to be used. You can reference an anchor tag with an id in javascript as well assigning the value of form elements to the href attribute. This way if our friend in New York isn't running a server side language he can get the same results.
Toucan42 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Google Bookmark this Post!Blink this Post!
Reply With Quote
Reply


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

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Send an Email with ASP/PHP/Perl Cota Tutorials 3 01-03-2007 08:13 PM
New Yahoo Worm Exploits email vulnerability chameleon General Conversation 0 06-13-2006 02:41 PM


All times are GMT -4. The time now is 10:50 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13