PHP: How to get creation date from uploaded file?

Posted by Haemp on Stack Overflow See other posts from Stack Overflow or by Haemp
Published on 2010-06-10T20:14:11Z Indexed on 2010/06/10 20:32 UTC
Read the original article Hit count: 243

Filed under:
|
|
|

Problem: I want to determine the original file creation time from a file uploaded to my server via PHP.

My understanding is that the file is copied from the client to a temporary file on my server, which then is referenced in the $_FILES var. The temporary file is of course of no use because it was just created. Is there any way I could get the creation date from the clients original file?

Thanks

© Stack Overflow or respective owner

Related posts about php

Related posts about date