On Mon, 19 Apr 2004, James Nickerson said: > I would like to preserve the date/time of photos I upload to a server with > something like the following html form:
I don't believe that uploading a file like this will preserve the file time and date. You can always _set_ the file time and date (using touch), but I think that you'll lose the information in the upload. You might look into extracting the time and date out of the file itself. Many digital cameras store this sort of information inside the file, so if you're uploading pictures from a digital camera, you can easily get the information back out using exif_read_data(). If you still want to set the file date and time, PHP has touch() as well. Frank --------------------------------------------------------------------------- Frank Sorenson - KD7TZK Systems Manager, Computer Science Department Brigham Young University [EMAIL PROTECTED] ____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
