kleb Posted December 26, 2011 Share Posted December 26, 2011 Hi,i will like to know how to put a file on my website for people to download..please how should i go about it? thanks merry christmass Quote Link to comment https://forums.phpfreaks.com/topic/253846-how-to-download/ Share on other sites More sharing options...
melloorr Posted December 26, 2011 Share Posted December 26, 2011 Just upload to mediafire and link to it from your site. Quote Link to comment https://forums.phpfreaks.com/topic/253846-how-to-download/#findComment-1301384 Share on other sites More sharing options...
kleb Posted December 26, 2011 Author Share Posted December 26, 2011 thanks mellor but cant i do it without uploading it to mediafire or is that the widely normal way of doing it? Quote Link to comment https://forums.phpfreaks.com/topic/253846-how-to-download/#findComment-1301388 Share on other sites More sharing options...
melloorr Posted December 26, 2011 Share Posted December 26, 2011 It is the best method (other than perhaps ftp). The file would not be there for every person to see, only those with the link could download it. Quote Link to comment https://forums.phpfreaks.com/topic/253846-how-to-download/#findComment-1301390 Share on other sites More sharing options...
litebearer Posted December 26, 2011 Share Posted December 26, 2011 You can always upload it to your site, then create a link to the file. Are you looking to make it available to everyone or just 'registered user"? What type of file is it? (pdf, txt, doc, etc etc) Will the file be created dynamically? (via some script) Quote Link to comment https://forums.phpfreaks.com/topic/253846-how-to-download/#findComment-1301391 Share on other sites More sharing options...
kleb Posted December 26, 2011 Author Share Posted December 26, 2011 hi litebearer it will be available to everyone.there will be audio files,vedio files,pdf and doc thanks Quote Link to comment https://forums.phpfreaks.com/topic/253846-how-to-download/#findComment-1301394 Share on other sites More sharing options...
Ivan Ivković Posted December 26, 2011 Share Posted December 26, 2011 Just put a link to the file. When people click at it, it will start to download, or browser might suggest to run/save it. Example: <a href="/files/song.mp3">Download it here...</a> Quote Link to comment https://forums.phpfreaks.com/topic/253846-how-to-download/#findComment-1301417 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.