You are here: Re: [PHP] Conceptional question « PHP « IT news, forums, messages
Re: [PHP] Conceptional question

Posted by Richard Davey on 06/29/05 18:53

Hello Thomas,

Wednesday, June 29, 2005, 4:38:10 PM, you wrote:

T> I have a conceptional question about storing images/files on a
T> server. When the application gives users a possibility to store up
T> to 20 images, would it be better to create a new folder for each
T> signed-up user to store the images in, or use one large folder. I
T> have done the last quite often (just renamed the files to the
T> insert id) with good success.

Depends entirely on how many images you expect to be held in this
folder at any one time. Whilst all modern operating systems can cope
with lots of files, you hit a certain level* beyond which system
performance suffers increasingly.

Personally I'd create sub-dirs per user.

* Don't ask me what, but it's not a very high number IIRC.

Best regards,

Richard Davey
--
http://www.launchcode.co.uk - PHP Development Services
"I do not fear computers. I fear the lack of them." - Isaac Asimov

 

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

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