|
Posted by Oli Filth on 11/18/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]
|