homepage Welcome to WebmasterWorld Guest from 54.226.206.205
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

    
Simple "require email before download" post?
email script downloads download
cogitate




msg:4560483
 5:01 am on Apr 2, 2013 (gmt 0)

Greetings,

Does anyone know of a simple script to:

1. hide absolute URLs of site downloads

AND

2. require an email for download of the file once the link is clicked?

I've found lots of scripts satisfying #1 but not a lot in the realm of #2.

Mainly, I just want to build a mailing/subscription/opt-in list from the people who download content from our site (mp3 audio recordings of recent presentations -- working on vides of but file sizes are still a bit daunting).

Thanks,

C

 

ergophobe




msg:4561444
 6:17 pm on Apr 4, 2013 (gmt 0)

Nothing I know of offhand, but I think if you use the terms "download squeeze page" or "squeeze page download" you might find a lot.

JD_Toims




msg:4595918
 12:38 am on Jul 24, 2013 (gmt 0)

2. require an email for download of the file once the link is clicked?

I don't know of anything simple/easy for this either, but it can be done by using a unique identifier for those e-mails, "piping to a program" and then having a handler "spit out" an auto reply with the link to the download in it.

Or in "code"
<a href="mailto:download@example.com&amp;subject=a_unique_file_identifier">E-mail Required. Click to Send for the Download Link</a>

Then in your mail processor (if you're on cPanel it's right there in the mail settings) pipe anything to "download" to a custom handler that grabs/stores the e-mail address, parses the subject line to find the correct link to, and spits out a reply.

You could also have the handler create, store and add a unique identifier to a query_string (EG ?download_id=12345385) in the file url and compare the unique identifier to the ones already stored to make sure the link wasn't just getting passed around and used for repeated downloads.

* Note: there are other ways to do it to, like requiring an address to be entered in a form, auto-sending an e-mail to the address entered with a confirmation link and making them click the link before the download link is showed.

The bottom line is something like this from a coding perspective though is fairly complicated to setup and also have be something that once the link goes out cannot just be passed around and clicked by anyone to by pass the e-mail requirement.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved