General structure of my application:
[includes] - not accessible by the web
.. important database classes, etc
[public]
.. all files that the application publicly uses
I'm trying to make a decision about where I should store the [uploads]
folder. This is the where all users will be storing their media (images, etc)
[uploads]
[user123]
mypic.jpg
mysecondpic.jpg
[user456]
picpic.jpg
yeah.jpg
Currently, I have this folder within the [public]
folder, but for some reason I'm not convinced that that this is the right place ...
The [includes]
folder will not be accessible by the public, only PHP will be able to navigate there.
What are your thoughts on this for best practice sake?