Reply to RE: Re[6]: [PHP] asking comment

Your name:

Reply:


Posted by Jared Williams on 03/30/05 21:45

>
> JW> I'll take absolutely bullet-proof and handled/supressed warnings,
> JW> over relatively bullet-proof.
>
> That would be fine if your previous solution was absolutely
> bullet-proof, or for that matter provided a solution for the
> original problem of renaming uploaded files and keeping them
> unique. Appending a datetime to a file, or using a loop that
> hopes you get a unique name within 100 iterations is wildly
> far from "bullet proof" in just about every respect.

Oh and generating random filenames from md5(), crossing your fingers and hoping you've got a unique filename is better?
Or assume that files don't already exist in the directory?

You are going against convential wisdom about ensuring unique filenames.

Jared

[Back to original 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

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