[advanced search]
Results from the most recent live auction are here.
20 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Go Back   NamePros.Com > Design and Development > Programming
User Name
Password

Old 01-05-2004, 07:43 AM   · #1
Dave Zan
Electrifying Guy
 
Dave Zan's Avatar
 
Name: Dave Zan
Trader Rating: (4)
Join Date: Sep 2003
Posts: 4,008
NP$: 1871.14 (Donate)
Dave Zan has much to be proud ofDave Zan has much to be proud ofDave Zan has much to be proud ofDave Zan has much to be proud ofDave Zan has much to be proud ofDave Zan has much to be proud ofDave Zan has much to be proud ofDave Zan has much to be proud ofDave Zan has much to be proud ofDave Zan has much to be proud of
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!


Please register or log-in into NamePros to hide ads
Dave Zan is offline   Reply With Quote
Old 01-05-2004, 09:34 AM   · #2
Corey Bryant
NamePros Member
 
Trader Rating: (0)
Join Date: Sep 2003
Posts: 33
NP$: 50.00 (Donate)
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   Reply With Quote
Old 01-05-2004, 10:30 AM   · #3
Dave Zan
Electrifying Guy
 
Dave Zan's Avatar
 
Name: Dave Zan
Trader Rating: (4)
Join Date: Sep 2003
Posts: 4,008
NP$: 1871.14 (Donate)
Dave Zan has much to be proud ofDave Zan has much to be proud ofDave Zan has much to be proud ofDave Zan has much to be proud ofDave Zan has much to be proud ofDave Zan has much to be proud ofDave Zan has much to be proud ofDave Zan has much to be proud ofDave Zan has much to be proud ofDave Zan has much to be proud of
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   Reply With Quote
Old 01-05-2004, 11:59 AM   · #4
adam_uk
Senior Member
 
Trader Rating: (17)
Join Date: May 2003
Posts: 2,211
NP$: 6170.25 (Donate)
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   Reply With Quote
Old 01-05-2004, 01:13 PM   · #5
PhreakShow
New Member
 
Name: Dylan Hall
Location: Pennsylvania, USA
Trader Rating: (0)
Join Date: Jan 2004
Posts: 7
NP$: 50.00 (Donate)
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   Reply With Quote
Old 01-05-2004, 03:52 PM   · #6
adam_uk
Senior Member
 
Trader Rating: (17)
Join Date: May 2003
Posts: 2,211
NP$: 6170.25 (Donate)
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   Reply With Quote
Old 01-06-2004, 12:40 PM   · #7
artmasterz
New Member
 
Trader Rating: (0)
Join Date: Aug 2003
Posts: 3
NP$: 6.00 (Donate)
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) {

$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   Reply With Quote
Old 01-07-2004, 08:10 AM   · #8
Dave Zan
Electrifying Guy
 
Dave Zan's Avatar
 
Name: Dave Zan
Trader Rating: (4)
Join Date: Sep 2003
Posts: 4,008
NP$: 1871.14 (Donate)
Dave Zan has much to be proud ofDave Zan has much to be proud ofDave Zan has much to be proud ofDave Zan has much to be proud ofDave Zan has much to be proud ofDave Zan has much to be proud ofDave Zan has much to be proud ofDave Zan has much to be proud ofDave Zan has much to be proud ofDave Zan has much to be proud of
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   Reply With Quote
Old 01-07-2004, 09:26 AM   · #9
adam_uk
Senior Member
 
Trader Rating: (17)
Join Date: May 2003
Posts: 2,211
NP$: 6170.25 (Donate)
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:

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   Reply With Quote
Closed Thread

NamePros is a revenue sharing forum.

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Site Sponsors
EscrowDNS EscrowDNS Proof is in the Parking
Advertise your business at NamePros
All times are GMT -7. The time now is 10:04 AM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0