You are here: Re: How unique is temporary file names (from file upload)? « PHP Programming Language « IT news, forums, messages
Re: How unique is temporary file names (from file upload)?

Posted by The Natural Philosopher on 01/10/08 16:21

Mikhail Kovalev wrote:
> I'm storing all uploaded files in one directory -- with the same
> temporary names they are given by PHP. I do so because I don't want an
> uploaded file to overwrite an already exisiting one, so I need to know
> whether these names are unique only per session and can reappear at a
> different time, or are they unique for every upload... ever?
>
> Thanks!=)
>
> mvh
> M. K.
Ever is a long time. I think they are compounded from the date in milli
seconds and a php string. So maybe when the whole unix time system rolls
around in 2025, you might see some duplicates..

Or something like that.

 

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

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