You are here: Re: Original file datestamp in uploads « PHP Programming Language « IT news, forums, messages
Re: Original file datestamp in uploads

Posted by Oli Filth on 10/27/43 11:41

Daniele Baroncelli wrote:
> >> How can I get the original datestamp of uploaded files?
> >>
> >> The array $_FILES doesn't seem to contain the original date.
> >>
> >>
> >> Any solution?
> >>
> >
> >
> > The timestamp the file had in the client machine is lost in the transfer,
> > you can only get the time it arrived at the server. Only way to access
> > client fielsystem would propably be ActiveX which is the
> > supercalifragilisticexpialidocious IE implementation of
> > "security-shmecurity" that in some cases actually is enabled in clients IE
> > browsers. But I'm not recommending you to go that way, just live with the
> > fact that you don't get the timestamp from uploaded files.
>
>
> Pretty shit! :-(((
>

Not really - it's a security thing. In general, the server has no
right/reason to know what time the user created the file, in the same
way that the server has no right/reason to know what folder it was in
on the user's computer, etc. Therefore, browsers don't send this info
with a file upload.

--
Oli

 

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

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