:::UNIQUE "Download" button?

Discussion in 'HTML & Website Design' started by stanley123, Nov 29, 2009.

  1. #1
    Hello all,

    I hardly know anything about script or programming therefore I'd be very grateful should any of you could give me an answer to my question:

    If I have a site where people can buy songs by downloading the files, what is the "Download" button script so that after they do the payment through Paypal, and they arrive at a particular URL (suppose: http://domain.com/A.html) where they can download the file(s), they'd be the ONLY one who can download song(s) and that URL (http://domain.com/A.html) can't be opened by anyone else when they open it in a browser?

    How can I assign that URL of http://domain.com/A.html to have some kind of unique code so that the only person who can access it is the one who has paid through my paypal page? Or, is there anyway so that that URL of http://domain.com/A.html can only be used ONCE?
     
    stanley123, Nov 29, 2009 IP
  2. vinpkl

    vinpkl Active Member

    Messages:
    899
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    58
    #2
    you will have to use paypal IPN

    https://www.paypal.com/ipn

    and when the status of payment is updated in database you can redirect the customer to download page.

    vineet
     
    Last edited: Nov 29, 2009
    vinpkl, Nov 29, 2009 IP
  3. stuart.letterman

    stuart.letterman Guest

    Messages:
    143
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You could set up a page which has to have a username/password to log in with perhaps. It's very hard to keep anything truly secure online, especially music :eek:
     
    stuart.letterman, Nov 29, 2009 IP