Reply to Re: uploaded files - if they already exist?

Your name:

Reply:


Posted by Janwillem Borleffs on 01/09/08 11:57

jodleren schreef:
> 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?
>

These file names are unique, meaning that you can upload the same file
over and over again without any conflicts.

If you want to check for duplicate uploads, you should check the file
name and/or the md5 hash (through md5_file).


JW

[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

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