You are here: Re: file uploading - last modified date « All PHP « IT news, forums, messages
Re: file uploading - last modified date

Posted by Janwillem Borleffs on 07/25/05 00:38

Ed Koren wrote:
> I am writing a small application to handle file uploads for an
> intranet. The application prompts the user if the uploaded file
> already exists on the server, however, I would like to give them the
> option to
> overwrite files without prompt, if the uploaded files are newer than
> those on the server.

Uploaded files are always newer then files already existing on the server.
When I upload a file at 13:00 and upload the same file at 13:01, the latter
version will be newer then the formal one and alter the last modified date
accordingly. This way, the prompt will never be shown again...


JW

 

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

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