![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Too lazy to set a custom title
Industry Role:
Join Date: Jul 2001
Posts: 59,204
|
Need script that lets users download a file after email opt in + email confirm
Just a really basic script...any idea where i can find one?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Dec 2002
Location: Daytona Beach
Posts: 7,133
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Too lazy to set a custom title
Industry Role:
Join Date: Jul 2001
Posts: 59,204
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Dec 2002
Location: Daytona Beach
Posts: 7,133
|
If you cant be bothered to look around im not gonna do it for you.
Regards, Lee |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Apr 2004
Location: www.jenniferworthington.com
Posts: 1,207
|
don't need a script. just put a link in the email response with a password to the page with the download link.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Too lazy to set a custom title
Industry Role:
Join Date: Jul 2001
Posts: 59,204
|
Quote:
I looked around....twice...and still cant find it. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Confirmed User
Join Date: Nov 2004
Posts: 4,628
|
Quote:
LOL We'd be happy to do it for you and believe it or not...we'd even do it with a smile! ![]() My icq is in my sig |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Bland for life
Industry Role:
Join Date: Nov 2004
Posts: 10,468
|
Quote:
__________________
★★★
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Confirmed User
Join Date: Dec 2002
Location: Daytona Beach
Posts: 7,133
|
Quote:
![]() Looks like GFY wil llet any old tard in off the street these days. Regards, Lee |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Join Date: May 2004
Location: SW Palm Bay, Florida
Posts: 1,323
|
You storing the emails in an sql database ?
__________________
subarus. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
Let slip the dogs of war.
Industry Role:
Join Date: Jan 2003
Location: Bermuda
Posts: 17,263
|
Quote:
__________________
. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
Totally Borked
Industry Role:
Join Date: Feb 2005
Posts: 6,284
|
Quote:
Yes, you posted a link to free scripts, but there are none there that I see which match the requested post. Yes, you can get free scripts which have signup/email confirm, but there's still going to be coding required at some point. jukeboxfrank was far more helpful, but doesn't include the email confirm Frank - As far as signup/email confirm goes, majordomo has this built in - just redirect them to a [veirified] page after email confirm. if your a bit savvy with coding the following code will put you well on the road - just read it and you'll see where it's going and what needs to be edited:
__________________
![]() For coding work - hit me up on andy // borkedcoder // com (consider figuring out the email as test #1) All models are wrong, but some are useful. George E.P. Box. p202 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Totally Borked
Industry Role:
Join Date: Feb 2005
Posts: 6,284
|
#!/opt/bin/perl
#$TEST = 1; $| = 1; # # CHANGE HISTORY: # ... # 990430 - added ability to use list or List_name for one or more # lists added -text check to if, added type check for html/text # checkboxes now works on nearly every form, except html/text # checkboxes need to both be called "type" - abk # 990430 fixed bug in if exception statement (repeat $list =~)-abk # 990430 prob with lsoft one email method, switched to mult emails # checked on webref, wrks-abk # 990501 - redid @lists/@types loop, now handles all our forms # except newslinx forms must have two "type" fields (html/text) # can handle both long and short fields names: # # one or more lists named all "list" or all "List_Name" # email or Email_Address # action or Action # type (for HTML and TEXT checkboxes) # upper case or lower case lists (input) output as lower case # # caution: you need to be consistent throughout your form # for multiple newsletters, the field name should either be all # "list" or "List_Name" not both in one form. - abk # # simplified version, requires type field, use example form below: # # http://www.webreference.com/signupform.html # # one or more lists named all "list" or all "List_Name" # email or Email_Address # action or Action # type (for HTML and TEXT checkboxes) # upper case or lower case lists (input) output as lower case # # can handle newsletter names with or without -html and -text # and with talk for discussion lists). # # with no suffix (i.e., webreference-update) and no type it # defaults to text (i.e. creates webreference-update-text) # # with suffix of -html -text or ends with talk it uses the list # name as is (i.e., newslinx-html or WDVL-TALK, or ECTALK) # # when "type" is set to html, text or both html and text # this script assumes list name has no suffix and appends, i.e., # internetday -> internetday-html AND internetday-text (if both # HTML and TEXT type checkboxes are checked.) if suffix exists # it ignores type. # # caution: you need to be consistent throughout your form # for multiple newsletters, the field name should either be all # "list" or "List_Name" not both in one form. - abk # # 990514 - TG (Tom Germain): substituted pipe to sendmail with # direct smtp connect to Lyris # server. # 990928 lc type for smtp array ref bug - abk-ecc # 991019 - changed to sendmail method, on-off to join-leave # fixed text on bug - avk # 991117 - Added write to file on E-Mail entry, and removed # cc: to softquad - dmr # 991220 - went open source use CGI; #>>>>T.G 990723>>> #hostname for smtp [Lyris server] my(%SMTP,%SMTP_FLG,%HDL,%H); $SMTP{text} = 'list4.internet.com'; $SMTP{html} = 'list3.internet.com'; $HDL{text} = 'S1'; $HDL{html} = 'S2'; #local hostname $LOCALHOST = 'webreference.com'; #<<<<<<<< $path = $ENV{'HTTP_REFERER'}; $path2 = "http://e-newsletters.internet.com/thankyou_new.html"; CGI::ReadParse(); $query = new CGI; $email = $in{'Email_Address'} || $in{'email'}; @lists = $query->param('list'); @list_name = $query->param('List_Name'); if (@list_name) {@lists = @list_name}; $action = $in{'Action'} || $in{'action'}; @types = $query->param('type'); $action =~ tr/A-Z/a-z/; $typeyes = "no"; $listtemp = ""; $onoff = ""; $emailfile = "/www/webref/control/sublist.txt"; $name = "Anonymous"; # Greetings if ($email eq "enter e-mail") { print "Content-type: text/html\n\n"; print "<H2>Oops! Try again gentle subscriber</H2>"; print "You gotta enter your e-mail address here, not just hit subscribe!<br>"; print "Please go back to <B><A HREF='$path' TARGET='_top'>$path</A></B> "; print "and make sure this is complete."; exit; } if ($email eq "") { print "Content-type: text/html\n\n"; print "<H2>Oops! Blank e-mail, eeek!</H2>"; print "You forgot to enter your email address.<br>"; print "Please go back to <B><A HREF='$path' TARGET='_top'>$path</A></B> "; print "and make sure this is complete."; exit; } if ($email =~ /^([\w.-]+@(?:[-\w]+\.)+[a-zA-Z]{2,3})$/) { $email = $1; # Untaint it } else { print "Content-type: text/html\n\n"; print "<H2>Hey! Invalid email, try again</H2>"; print "You entered an invalid email address.<br>"; print "Please go back to <B><A HREF='$path' TARGET='_top'>$path</A></B> "; print "and make sure you enter an email of the form name\@domain.xxx. "; print "Thanks."; exit; } if (@lists < 1){ print "Content-type: text/html\n\n"; print "<H2>Hey! You didn't choose a newsletter, try again</H2>"; exit; } if ($action eq "unsubscribe") { $onoff = "leave-"; } else { $onoff = "join-"; } foreach $list (@lists) { # # 990715 this loop moved inside main loop for old forms - abk # it accepts old style list names as checkboxes # and defaults to -text if no suffix # $list =~ tr/A-Z/a-z/; if($list =~ /\-(html)$/ || $list =~ /\-(text)$/ || $list =~ /talk$/) { $type = $1; if(!$type){$type = 'text';} #&debug(">>>>$type"); } else { if (@types > 0){$typeyes = "yes";} else { $list = $list . "-text"; $type = 'text';} } if ($typeyes eq "yes") { foreach $type (@types) { $type = lc($type); $listtemp = $list . "-" . $type; $listtemp = lc($listtemp); $listtemp2 = $onoff . $listtemp . "\@" . $SMTP{$type}; open (MAIL, "|/usr/lib/sendmail -t -oi"); print MAIL<<END8; From: $email To: $listtemp2 Subject: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Precedence: list $action $list END8 close MAIL; } open (MAIL, "|/usr/lib/sendmail -t -oi"); print MAIL<<END7; From: youremail\@domain.com To: $email Subject: Subscribe and Win Contest Entry Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Precedence: list Welcome! You've been entered into ***INSERT YOUR SHIT HERE**** ***POST LINK TO SECRET GARDEN NONESENSE**** Thank again, the webmaster END7 close MAIL; open(LOGFILE,"+<$emailfile"); flock(LOGFILE,2); seek(LOGFILE,0,2); print LOGFILE ("$email\n"); close(LOGFILE); } else { $listtemp2 = $onoff . $list . "\@" . $SMTP{$type}; open (MAIL, "|/usr/lib/sendmail -t -oi"); print MAIL<<END9; From: $email To: $listtemp2 Subject: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Precedence: list $action $list END9 close MAIL; open(LOGFILE,"+<$emailfile"); flock(LOGFILE,2); seek(LOGFILE,0,2); print LOGFILE ("$email\n"); close(LOGFILE); } } #next list print "Location: $path2\n\n"; # code below uunec with above redirect but left for future use if ($action eq "subscribe") { print <<END1; <html> <head> <meta HTTP-EQUIV="Refresh" CONTENT="0; URL=$path2"> <title>$list List Subscribe Results</title> </head> <body bgcolor=ffffff> <h1 align=center>Newsletter Subscription Results</h1> <BLOCKQUOTE> <center> Thank you $email, for<br> your request to join the END1 foreach $list (@lists) { print "$list, "; } print <<END3; list(s).</center> <P>Your request has been submitted for approval. You should receive an email shortly that will confirm your subscription request.</P> <P>You'll now be sent back to <B><A HREF="$path2" TARGET="_top">$path2</A></B>.</P> <center> <font size=1> Copyright © 1999-2000 Jupitermedia Corp. .</font> </center> </BLOCKQUOTE> </body> </html> END3 } if ($action eq "unsubscribe" or $action eq "SIGNOFF") { $name=""; print <<END4; <html> <head> <meta HTTP-EQUIV="Refresh" CONTENT="0; URL=$path2"> <title>$list list unsubscribe results</title> </head> <body bgcolor="#ffffff"> <center> <h1 align=center>$list list unsubscribe results</h1> <BLOCKQUOTE> <center> ThankYou $email, for your interest in END4 foreach $list (@lists) { print "$list, "; } print <<END5; list(s).</center> <br> Your request has been submitted for processing. You should receive an email shortly that will confirm that you have been unsubscribed from the list(s). <br> back to <B><A HREF="$path2" TARGET="_top">$path2</A></B> <br> <center> <font size=1> © Copyright © 1999-2000 Jupitermedia Corp. .</font> </blockquote> </body> </html> END5 } exit;
__________________
![]() For coding work - hit me up on andy // borkedcoder // com (consider figuring out the email as test #1) All models are wrong, but some are useful. George E.P. Box. p202 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 | |
Confirmed User
Join Date: Dec 2002
Location: Daytona Beach
Posts: 7,133
|
Quote:
http://www.focalmedia.net/dlm.html Lazy-ass motherfuckers. Regards, Lee |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 | |
Totally Borked
Industry Role:
Join Date: Feb 2005
Posts: 6,284
|
Quote:
Maybe it's you who is the lazy-ass MF, sinc eyou clearly didn't read the original post. THe link you provided is a simple d/l script. Where in that script (and there's an online demo for simpletons to try), is the email verification process?
__________________
![]() For coding work - hit me up on andy // borkedcoder // com (consider figuring out the email as test #1) All models are wrong, but some are useful. George E.P. Box. p202 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
Too lazy to set a custom title
Industry Role:
Join Date: Jul 2001
Posts: 59,204
|
Ahahah calm down everybody.
Thanks for the help, will check the links and code. Cheers. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
So Fucking Banned
Join Date: Aug 2001
Posts: 2,875
|
hit me up franck I know some free scripts
Jon |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 | |
Too lazy to set a custom title
Industry Role:
Join Date: Jul 2001
Posts: 59,204
|
Quote:
The problem is, it doesnt send a confirm mail people have to click. So most people will just fill in a bogus email and download the file. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 |
Totally Borked
Industry Role:
Join Date: Feb 2005
Posts: 6,284
|
Get in touch with Jon -
it's a simple email verification script that verifies the email on confrimation and redirects to the page of choice. If you know coding, just make sure it has some form of MD5 hash (say a hash of username+email+timestamp) as verification, not something simple that can be reversed and posted everywhere for anyone to bypass.
__________________
![]() For coding work - hit me up on andy // borkedcoder // com (consider figuring out the email as test #1) All models are wrong, but some are useful. George E.P. Box. p202 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 |
Too lazy to set a custom title
Industry Role:
Join Date: Jul 2001
Posts: 59,204
|
Thanks man
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#21 |
Confirmed User
Join Date: Dec 2003
Location: Dirty 3rd
Posts: 4,216
|
aweber can do this
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#22 |
Confirmed User
Join Date: May 2004
Location: SW Palm Bay, Florida
Posts: 1,323
|
I'll ask again....
Do you mind using an sql database to store you emails ?
__________________
subarus. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#23 |
So Fucking Banned (YEA!!)
Join Date: Jun 2004
Posts: 10,963
|
i know what you are doing, its kinda of what warez sites do.
Ive seen it done when they want you to download a app but you have to signup for some porn paysite, i thought it was genious the way they market it.
__________________
Care about me? Who? Me! Who? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#24 |
So Fucking Banned (YEA!!)
Join Date: Jun 2004
Posts: 10,963
|
Here is what i recommend
Put the file behind a pass protected directory. Make the surfer sign up to what ever it is and click the confirm link to get the pass word. Usually when the click the link they go to a page saying "Thank you for verifying your email to blah blah blah. Tell them that that they have to do all that to get the pass which will be the word that comes 4th for examples Thank you for _____ The blank is the password which is verifying. ![]()
__________________
Care about me? Who? Me! Who? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#25 |
Too lazy to set a custom title
Industry Role:
Join Date: Mar 2003
Location: Homeless
Posts: 62,911
|
I love it when a thread starts our simple, and gets nasty!
__________________
PornGuy skype me pornguy_epic AmateurDough The Hottes Shemales online! TChicks.com | Angeles Cid | Mariana Cordoba | MAILERS WELCOME! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#26 |
Too lazy to set a custom title
Industry Role:
Join Date: Jul 2001
Posts: 59,204
|
Oh btw, its been taken care of hours ago...thanks though.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#27 |
Too lazy to set a custom title
Join Date: Oct 2001
Location: Spartaaaaaaaaa
Posts: 14,136
|
aFormMail
Absolutely free, I'm using it on one of my sites to collect mails. It works as follows: If a surfer wants to download a file, he has to enter his name and email on a web form, and then gets an autoresponce with the download link. You get the emails, IPs, time stamp, etc emailed to your email. The script is suppose to collect all the emails in one file, but I couldn't make that feature work. Yet again I'm not very clued about scripts, and I didn't really worry much about it. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#28 |
Too lazy to set a custom title
Join Date: Oct 2001
Location: Spartaaaaaaaaa
Posts: 14,136
|
shit, just waisted 3 min typing that shit
|
![]() |
![]() ![]() ![]() ![]() ![]() |