Results from the most recent live auction are here .
20 members in the live chat room. Join Chat !
01-05-2004, 07:43 AM
· #1 Electrifying Guy
Name: Dave Zan
Join Date: Sep 2003
Posts: 4,008
NP$: 1871.14 (
Donate )
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!
01-05-2004, 09:34 AM
· #2 NamePros Member
Are you using PHP or ASP? Your mailing list - who is it managed by?
01-05-2004, 10:30 AM
· #3 Electrifying Guy
Name: Dave Zan
Join Date: Sep 2003
Posts: 4,008
NP$: 1871.14 (
Donate )
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.
01-05-2004, 11:59 AM
· #4 Senior Member
Join Date: May 2003
Posts: 2,211
NP$: 6170.25 (
Donate )
<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
01-05-2004, 01:13 PM
· #5 New Member
Name: Dylan Hall
Location: Pennsylvania, USA
Join Date: Jan 2004
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.
01-05-2004, 03:52 PM
· #6 Senior Member
Join Date: May 2003
Posts: 2,211
NP$: 6170.25 (
Donate )
yeh sorry
dunno why i typed textboxes, i always use text as well oh well
01-06-2004, 12:40 PM
· #7 New Member
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
01-07-2004, 08:10 AM
· #8 Electrifying Guy
Name: Dave Zan
Join Date: Sep 2003
Posts: 4,008
NP$: 1871.14 (
Donate )
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!
01-07-2004, 09:26 AM
· #9 Senior Member
Join Date: May 2003
Posts: 2,211
NP$: 6170.25 (
Donate )
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
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off