freelance84 Posted June 5, 2011 Share Posted June 5, 2011 I'm starting a new project which will involve its members being able to upload images documents and pdf's. Some of the files may at times be in excess of 15mb. What is the best way of going about organising this? At a first thought i will be separating the different file types into different folders on the server. But is there a limit to the number of files that can be stored in any one folder? Or is there a point when the number of files within the folder mean searching the said folder becomes slow? Link to comment https://forums.phpfreaks.com/topic/238506-managing-user-uploaded-files/ Share on other sites More sharing options...
joel24 Posted June 5, 2011 Share Posted June 5, 2011 But is there a limit to the number of files that can be stored in any one folder? No. Or is there a point when the number of files within the folder mean searching the said folder becomes slow? If you're only searching for file name, no. You should store the file name, details, author and location in a mysql table and then when someone searches for a file - search the mysql database, return the location from there and return the file using PHP. Link to comment https://forums.phpfreaks.com/topic/238506-managing-user-uploaded-files/#findComment-1225659 Share on other sites More sharing options...
freelance84 Posted June 6, 2011 Author Share Posted June 6, 2011 Ok cool, thanks Link to comment https://forums.phpfreaks.com/topic/238506-managing-user-uploaded-files/#findComment-1225779 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.