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? Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
freelance84 Posted June 6, 2011 Author Share Posted June 6, 2011 Ok cool, thanks Quote Link to comment 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.