|
Posted by radmission05 on 01/12/08 14:25
On Jan 10, 7:56 am, Mikhail Kovalev <mikhail_kova...@mail.ru> 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.
why bother with temp files, it will be deleted on cleaning. so it
maybeor or it wont duplicate, and will not overwrite another one.
to sure it wont, try to copy that on other folder, rename it with the
random + date + time filename so it will be unique. time is unique,
the date yesterday will not be the date for tommorow.. but the problem
is, if they reset or change their server time. Thats why i put random
(11 chars and numbers).
Navigation:
[Reply to this message]
|