Scripted Link for Digital Product Download

3 replies
Hi all,

I'm looking for a script that will hide the URL source of the download link. I'm selling a digital product and don't want just anyone to get ahold of this -- only want those who buy via paypal to be able to download the ebook.

Hope I made sense, and hope to get some feedback.

Thanks,
Art
#digital #download #link #product #scripted
  • Profile picture of the author PaybackTony
    Simple IPN: Free Paypal IPN PHP Script for Digital Download Products -- MiniSiteGallery.com

    ^ Found via Google, since I'm new I can't post links, but if you google that you should be able to find it without problems.

    From a programming standpoint, what you would want to do is store the desired file(s) outside the web-root, but in a directory readable by the web server. You would then use php to pull the data from the file and just spit it back out after doing a simple verification that the customer had paid to receive it.

    If that's not within your abilities as a programmer, then google around for a bit. There are a lot of free scripts and tutorials for various web programming languages on digital content distribution / downloads.
    {{ DiscussionBoard.errors[5647039].message }}
  • Profile picture of the author ussher
    PaybackTony's got it exactly right. (provided your using php) let the script get the file, set some headers, give it a name (any name you like it doesnt have to be the name of the file.)

    heres a super basic step by step:
    How to Use PHP to Force a File Download - Force Downloads
    Signature

    "Jamroom is a Profile Centric CMS system suitable as a development framework for building entire communities. Highly modular in concept. Suitable for enterprise level development teams or solo freelancers."

    - jamroom.net
    Download Jamroom free: Download
    {{ DiscussionBoard.errors[5647120].message }}
  • Profile picture of the author Affairofarts
    Thanks guys!
    {{ DiscussionBoard.errors[5662379].message }}

Trending Topics