naik.apoorv Posted November 28, 2010 Share Posted November 28, 2010 Dear PHPFreak members, I have been searching a solution for serving a file download via my website. The file to be downloaded is actually on a remote server. What i need is a code that serves as a download medium without actually downloading the file to my web server. Something like masking file url Can anyone help me with it ??? Have been trying this since days. But no solution till date. Quote Link to comment Share on other sites More sharing options...
justin813 Posted November 29, 2010 Share Posted November 29, 2010 So you're wanting the user to be able to download the file theirsite.com/file.zip, but you want the link to say yoursite.com/file.zip, but you also don't want the file to have to be on your site? Quote Link to comment Share on other sites More sharing options...
naik.apoorv Posted November 29, 2010 Author Share Posted November 29, 2010 So you're wanting the user to be able to download the file theirsite.com/file.zip, but you want the link to say yoursite.com/file.zip, but you also don't want the file to have to be on your site? Yeah. The scenario is like this Remote File: http://www.xyz.com/setup.exe On my site I wish to use a file say " download.php " that provides the same contents of the file by accessing it but not downloading it to my server. 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.