joecooper Posted March 10, 2006 Share Posted March 10, 2006 how can i let someone download somthing from my server, without them finding out the exact download link. it can be done via a php script, but no idea how to do this. any ideas? Quote Link to comment Share on other sites More sharing options...
wickning1 Posted March 10, 2006 Share Posted March 10, 2006 A PHP script can be set up to feed the user a file download INSTEAD OF a web page. Set the content type with the header() function. Then use PHP to open the file on the local machine, read it in and output it to the user. Quote Link to comment Share on other sites More sharing options...
joecooper Posted March 10, 2006 Author Share Posted March 10, 2006 oh i get it! thanks! i will try that later Quote Link to comment Share on other sites More sharing options...
AndyB Posted March 10, 2006 Share Posted March 10, 2006 [a href=\"http://www.onlamp.com/pub/a/php/2002/12/05/one_time_URLs.html\" target=\"_blank\"]http://www.onlamp.com/pub/a/php/2002/12/05..._time_URLs.html[/a]When you want to give out a URL that only works for one download - no matter how many people know the URL Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.