|
Posted by Erwin Moller on 01/09/08 12:08
jodleren wrote:
> Hi!
>
> When a file is uploaded, using <input type=file>, I get it as a temp-
> file.
> Will it stay there, so I can check the user whether to overwrite an
> existing file?
No, they won't stay there.
If you do not use move_uploaded_file(), the tempfile will be deleted
when the scripts ends.
And the filenames are unique as JanWillem described, so you don't have
to worry about that.
So it is up to you (your script) to move the temp file from the temp dir
to a better place.
Regards,
Erwin Moller
>
> WBR
> Sonnich
Navigation:
[Reply to this message]
|