SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Nov 2001
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Paypal and downloads

    Greetings!

    We use Paypal for payment of ebooks. Paypal allows one after payment to send the person to a thank you page. When they are sent to this page we wish the file download to start immediately but also hide the url where the file comes from.

    Our site is in php - any suggestions on code we can include on these pages to make this happen.

    Many thanks

  2. #2
    SitePoint Wizard creole's Avatar
    Join Date
    Oct 2000
    Location
    Nashvegas Baby!
    Posts
    7,845
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You won't be able to hide the file path. If someone can download it from your site then they can figure out that path.

    You could however make it tougher to figure out using a combination of javascript status bar messages and auto-downloads.

    As for the auto-download, take a look at this page. It's a download page from Download.com. It uses Javscript to initiate the download:
    http://download.cnet.com/downloads/0...19-110-7724306
    Adobe Certified Coldfusion MX 7 Developer
    Adobe Certified Advanced Coldfusion MX Developer
    My Blog (new) | My Family | My Freelance | My Recipes

  3. #3
    SitePoint Member
    Join Date
    Nov 2001
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by creole
    [B]You won't be able to hide the file path. If someone can download it from your site then they can figure out that path.

    You could however make it tougher to figure out using a combination of javascript status bar messages and auto-downloads.
    Many thanks for the reply.

    I check out some of the script sites to see if one has been made.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •