bananas Posted November 29, 2007 Share Posted November 29, 2007 Hello, I'm using this code to change the filename of a remote file header("Content-Disposition: attachment; filename=Vivaldi.ogg"); readfile("http://upload.wikimedia.org/wikipedia/commons/3/3c/01_-_Vivaldi_Spring_mvt_1_Allegro_-_John_Harrison_violin.ogg"); However, readfile uses up my server's bandwidth as well . Is there a way so that it just changes the name of the file in the download dialog, but directly downloads from the actual site? Thanks . Quote Link to comment https://forums.phpfreaks.com/topic/79378-changing-filename-of-remote-file/ Share on other sites More sharing options...
bananas Posted November 30, 2007 Author Share Posted November 30, 2007 Anyone? ??? Quote Link to comment https://forums.phpfreaks.com/topic/79378-changing-filename-of-remote-file/#findComment-402541 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.