Posted by Mike on 07/02/06 19:43
Just a quick question.
I'm working on a site where users who are logged in can upload a max of
10 images (jpegs).
Once the user uploads an image, the filename will be renamed as
"image01_*userid*" eg. image01_213.jpg. The image number (01 to 10)
will be determined by how many images the user has already uploaded by
a quick query in an "images" table.
Now, should all the images be stored in 1 directory on the server or
should I create a new dir for each user? Any advantages or
disadvantages??
Many Thanks
Mike
Navigation:
[Reply to this message]
|