Hi! (my first post here, so please be gentle)
I want to upload a file through html form and I want to know it's creation date/time.
I use this code:
Code: Select all
date ("F d Y H:i:s.", getlastmod($_FILES['uploadedfile']['tmp_name']));
but as you know it displays the creation date of uploaded file, not original one. I wonder is there any way to send to the server through html form the file and it's creation date/time. The file is a HTML-format file (so basically a txt one) and I cannot read it for example from EXIF (jpeg).
Any suggestions would be great!
Thx in advance for any help!