Storage of client project pictures on the server. Best directory layout?

By | August 20, 2018
Questions:

I have an ajax/php file uploader that works fine.

The file uploader is a php page posted to, with the following parameters in the url besides the files it is going to process.

/beta6/upload/?client_id=111&project_id=222

My question is, is the follwing the most appropriate folder storage structure for this application?

A. My initial though..

/beta6/upload/111/222/file1.jpg
/beta6/upload/111/222/file2.jpg
/beta6/upload/111/222/file3.jpg
Answers:

Leave a Reply

Your email address will not be published. Required fields are marked *