On Monday 19 April 2004 11:40 pm, District Webmaster wrote:
> You could modify the file name (when you move it to its final location)
> to include the time (roughly) of the upload -- using time()
> [http://www.php.net/manual/en/function.time.php]. Or you could just get
> the information about the file with lstat()
> [http://www.php.net/manual/en/function.lstat.php]
The image automatically acquires the time of the upload already. I figured
whatever time it had on it was much more likely to be approximately related
to when it was taken, though obviously that won't be true much of the time
either. I suppose the best thing to do is use lstat() as you suggested to
snag the info before the upload. Actually, that won't work for remote
uploads, will it. Probably the only way is through some kind of a javascript
wrapper, if there's no way to pass that info through an html form.
Thanks for the pointers.
> Dave
>
> >>> James Nickerson <[EMAIL PROTECTED]> 04/19/04 10:11 PM >>>
>
> I would like to preserve the date/time of photos I upload to a server
> with
---------------
James Nickerson
The deep south
____________________
BYU Unix Users Group
http://uug.byu.edu/
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list