I am in the process of creating a File Download PHP Script. I would like to get some ideas as to what good "features" I should have. Currently this is what I have in mind: Main Features: --------------- * Plug-n-Play Site * Complete Download System * Ability to add categories (unlimited tree) * Optional Category Image * Optional Mod-Rewrite (Easy URLs) * Optional Image Preview (thumbnail) for Image Files * Directories can act as Image gallery, with slideshows * Tell a Friend system for all files * Optional Anonymous uploads to system -> Limit file size and extension types -> Enable Report of "bad files" Optional user system: --------------------- * Allow users to sign-up * Allow users to upload files * Limit File Size and Extensions * Allow users to have private albums as well * Limit upload capacity for users * Allow users to communicate via email and/or PM * Enable/Disable profile page for users with their statistics FrontPage: ---------- * Easy editable index.php template (changes reflect entire site) * TOS, Privacy Policy and FAQ pages to reflect your site configuration * User registration, forgot pass, login and contact us pages * Optional Image Captcha for Contact page * Optional Email Confirmation Administrator CP: ----------------- * Complete administrator control panel * User Management Option * File Management Option Advertising System: ------------------- * Built in advertisement system, image/flash banners * Built in contextual advertisement system (Adsense, YPN, Adbrite, etc) I already finished installation procedure and template, ready for coding (will do it in a week or so, too many midterms). Peace,
You mean specify the download upload speed for each user? I thought it was hard till I saw this function: <?php $file = "test.mp3"; // file to be send to the client $speed = 8.5; // 8,5 kb/s download rate limit if(file_exists($file) && is_file($file)) { header("Cache-control: private"); header("Content-Type: application/octet-stream"); header("Content-Length: ".filesize($file)); header("Content-Disposition: filename=$file" . "%20"); flush(); $fd = fopen($file, "r"); while(!feof($fd)) { echo fread($fd, round($speed*1024)); flush(); sleep(1); } fclose ($fd); } ?> PHP: Peace,
1. How many people have downloaded a certain file. 2. User rating system for that file plus reviews/testimonials. 3. Add Technorati-type tags for each downloadable file page.