You are here: Uploading images « All PHP « IT news, forums, messages
Uploading images

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация