chetanmadaan Posted November 27, 2013 Share Posted November 27, 2013 Hi - we have been using google code to host our open source projects till now and they get a lot of downloads too.. Google code is going to stop offering downloads starting Jan 2014 and we want an alternate. We have enough bandwidth to host the download our self... but just need some help finding out the right too. the most important thing is that we need to offer direct downloads to our zip files... most of the scripts we find online are really in a manner that the download has to be router through php. is there a script of function out there that can do this job for us? Quote Link to comment https://forums.phpfreaks.com/topic/284335-php-downloads-manager/ Share on other sites More sharing options...
kicken Posted November 27, 2013 Share Posted November 27, 2013 You don't need a script to offer up downloads unless you want to do some kind of stats tracking. You can just link directly to your zip files and they will be downloaded. If you do want the stats tracking, but want your links to still appear as if they are going directly to the zip file rather than something like download.php?file=blah then you'll need to create some mod_rewrite rules to redirect the zipfile requests to the download script. As far as the actual download script goes, you can either use one of the scripts you said you found if there was one you liked, or write your own simple one using header and readfile along with whatever form of stats tracking you choose to implement. Quote Link to comment https://forums.phpfreaks.com/topic/284335-php-downloads-manager/#findComment-1460379 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.