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 > Website Development Discussion Forums > Programming
Reload this Page script to enter name & email & then some...

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search
5 members in live chat ~  


Closed Thread
 
LinkBack Thread Tools
Old 01-05-2004, 06:43 AM THREAD STARTER               #1 (permalink)
Electrifying Guy
 
Dave Zan's Avatar
Join Date: Sep 2003
Posts: 4,827
Dave Zan has a reputation beyond reputeDave Zan has a reputation beyond reputeDave Zan has a reputation beyond reputeDave Zan has a reputation beyond reputeDave Zan has a reputation beyond reputeDave Zan has a reputation beyond reputeDave Zan has a reputation beyond reputeDave Zan has a reputation beyond reputeDave Zan has a reputation beyond reputeDave Zan has a reputation beyond reputeDave Zan has a reputation beyond repute
 




script to enter name & email & then some...


hi everyone!

What HTML code do you input in a website to allow a person to enter his/her name & email, clicks submit, and sends the name & email to my mailing list email address like freereport@freereport.com?

I'll be asking followup questions as time goes by....

Thanks everyone!
Dave Zan is offline  
Old 01-05-2004, 08:34 AM   #2 (permalink)
NamePros Member
Join Date: Sep 2003
Posts: 33
Corey Bryant is an unknown quantity at this point
 



Are you using PHP or ASP? Your mailing list - who is it managed by?
__________________
Corey
Merchant Accounts 4 Less
Corey Bryant is offline  
Old 01-05-2004, 09:30 AM THREAD STARTER               #3 (permalink)
Electrifying Guy
 
Dave Zan's Avatar
Join Date: Sep 2003
Posts: 4,827
Dave Zan has a reputation beyond reputeDave Zan has a reputation beyond reputeDave Zan has a reputation beyond reputeDave Zan has a reputation beyond reputeDave Zan has a reputation beyond reputeDave Zan has a reputation beyond reputeDave Zan has a reputation beyond reputeDave Zan has a reputation beyond reputeDave Zan has a reputation beyond reputeDave Zan has a reputation beyond reputeDave Zan has a reputation beyond repute
 




Quote:
Originally posted by Corey Bryant
Are you using PHP or ASP? Your mailing list - who is it managed by?
PHP. My mailing list manager is Mailman.

I'm not good at this, of course. So I'm trying to learn & figure out how to code my website that'll accomplish this.

In short, I need to be sadly spoon-fed.
Dave Zan is offline  
Old 01-05-2004, 10:59 AM   #4 (permalink)
Senior Member
Join Date: May 2003
Posts: 2,187
adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough
 


Breast Cancer
<form method="post" action="addscript.php">
Name: <input type="textbox" name="name">
Email: <input type="textbox" name="email">
<input type="submit" name="submit">
</form>

then addscript.php would be
would be the script name to add the user
adam_uk is offline  
Old 01-05-2004, 12:13 PM   #5 (permalink)
New Member
Join Date: Jan 2004
Location: Pennsylvania, USA
Posts: 7
PhreakShow is an unknown quantity at this point
 



I'm not sure how the mailing list script works but adam_uk gave you the form to use. Except, your going to want to use:
Code:
<input type="text" name="name">
<input type="text" name="email">
Instead of textboxes.
PhreakShow is offline  
Old 01-05-2004, 02:52 PM   #6 (permalink)
Senior Member
Join Date: May 2003
Posts: 2,187
adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough
 


Breast Cancer
yeh sorry

dunno why i typed textboxes, i always use text as well oh well
adam_uk is offline  
Old 01-06-2004, 11:40 AM   #7 (permalink)
New Member
Join Date: Aug 2003
Posts: 3
artmasterz is an unknown quantity at this point
 



hi,

try this

PHP Code:
<?php

// $to = who the mail is going to
// $subject = this message subject
// $message = the mail message to send
// $from = who is sending this message (also = Reply-To)


function send($to$subject$message$from$file$type) {
????: NamePros.com http://www.namepros.com/programming/16549-script-enter-name-email-then-some.html

$header "From: $from\r\n";
$header .= "Reply-To: $from\r\n";
$header .= "X-Priority: 3 (low)\r\n";
$header .= "X-Mailer: <Ya-Right Mail Server>\r\n";
$header .= "MIME-Version: 1.0\r\n";
$header .= "Content-Type: text/plain; charset=\"ISO-8859-1\"\r\n";
$header .= "Content-Transfer-Encoding: 8bit\r\n\r\n";


mail($to$subject"your body goes here"$header);

return 
true;
}


?>

Azizi
artmasterz is offline  
Old 01-07-2004, 07:10 AM THREAD STARTER               #8 (permalink)
Electrifying Guy
 
Dave Zan's Avatar
Join Date: Sep 2003
Posts: 4,827
Dave Zan has a reputation beyond reputeDave Zan has a reputation beyond reputeDave Zan has a reputation beyond reputeDave Zan has a reputation beyond reputeDave Zan has a reputation beyond reputeDave Zan has a reputation beyond reputeDave Zan has a reputation beyond reputeDave Zan has a reputation beyond reputeDave Zan has a reputation beyond reputeDave Zan has a reputation beyond reputeDave Zan has a reputation beyond repute
 




thanks for your replies, everyone!

Ok, I think I'm making headway with this. First off, I need to know what HTML code or thingamajig I need to input in my site that'll do this:

After a person enters his/her name & email and clicks submit, my website should send the info to my mailing list email freereport@freeport.com. I analyzed my mailing list manager and I think it currently allows only opt-in via email.

I'll post as soon as I get more info on this.

Once my site is up, I'll post it for all of you to behold and tear apart!

Again, thanks everyone!
Dave Zan is offline  
Old 01-07-2004, 08:26 AM   #9 (permalink)
Senior Member
Join Date: May 2003
Posts: 2,187
adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough
 


Breast Cancer
Quote:
Originally posted by davezan
thanks for your replies, everyone!

Ok, I think I'm making headway with this. First off, I need to know what HTML code or thingamajig I need to input in my site that'll do this:
????: NamePros.com http://www.namepros.com/showthread.php?t=16549

After a person enters his/her name & email and clicks submit, my website should send the info to my mailing list email freereport@freeport.com. I analyzed my mailing list manager and I think it currently allows only opt-in via email.

I'll post as soon as I get more info on this.

Once my site is up, I'll post it for all of you to behold and tear apart!

Again, thanks everyone!
your mail script shoud be able to provide you with all of this already

if not, thats gonna take a bit of work, more that what can be explained via a forum if i understand you correctly
adam_uk is offline  
Closed Thread


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


 
All times are GMT -7. The time now is 02:08 PM.

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