Download and Redirect - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18) +---- Forum: PHP The Hypertext Preprocessor (https://www.supportforums.net/forumdisplay.php?fid=21) +---- Thread: Download and Redirect (/showthread.php?tid=4835) |
Download and Redirect - Austneal - 02-15-2010 I dont know very much at all about php, and i was wondering... Is there some way I could have a script download a file, and then redirect to another page? Im wanting to sell something on a site, so I would have them click a buy button which would go through paypal. After the transaction is complete, paypal would redirect to this script to download the file. And since the script redirects to another page, they shouldnt be able to see the script's location, or the downloaded file's location, right? RE: Download and Redirect - Jordan L. - 02-16-2010 Do you plan on just selling one thing, or lots of different products? Creating a paypal button will do all of the above you mentioned for you. RE: Download and Redirect - Austneal - 02-16-2010 I want to sell multiple products, but all of them are going to be digital media RE: Download and Redirect - Austneal - 02-16-2010 so what exactly do I need? RE: Download and Redirect - ELY_M - 02-17-2010 what I have used for selling ebooks on ebay years ago. PHP Code: <?php RE: Download and Redirect - Omniscient - 02-17-2010 There are lots of paypal compatible digital download scripts. Not too many good free ones but they exist. How about a 3rd party resource like this? https://express.payloadz.com/?mode=adv Their pricing structure is cheap too. https://www.payloadz.com/account/levels.asp RE: Download and Redirect - Jordan L. - 02-17-2010 Or, if you have a website or something, set up this awesome shop called OpenCart: http://www.opencart.com/ It will allow you to host multiple things for sale and everything. RE: Download and Redirect - Austneal - 03-18-2010 Awesome... does it do digital media downloads though? RE: Download and Redirect - SLiM - 04-13-2010 Use Javascript to prompt for a download is my suggestion. |