Website Membership + protected file downloads

Re: [Deborah] Website Membership + protected file downloads

By Donna - March 29, 2010

Hi Deborah -- drop an email to our consulting department at consulting@interactivetools.com, we can see about adding something like this. :)
Donna

--
support@interactivetools.com

Re: [Deborah] Website Membership + protected file downloads

By Dave - March 29, 2010

Hi Deborah,

Sorry for the delay. Basically the way this works is instead of linking to the file directly you link to a script that requires login and download the file for you. For added security you can even use a different upload dir for secure files.

I've attached a sample "downloadFile.php". It does the basics but may need more customization to do what you need. Basically you just hard code it with a table and field name and then instead of linking to a download you link to the download script and pass the record num like this: downloadFile.php?1

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com
Attachments:

downloadfile.php 1K