Hi,
I'm trying to get the creation date of a posted file.
(The file was posted thru a form).
All php functions (filemtime, fileatime etc.) on the file name are returning present time.
Anyone knows the reason ?
Here's some code:
the form:
.
<FORM ENCTYPE="multipart/form-data" METHOD="POST" ACTION="upload.php">
<TABLE>
<TR><TD>File</TD><TD>
<INPUT TYPE="FILE" NAME="File"></TD></TR>
</TABLE>
<INPUT TYPE="submit" VALUE="Submit"></FORM>
.
and upload.php:
.
.
$ftime = filemtime($File);
$fsize = filesize("$File");
$fd = fopen( $File, "r");
.
.
.
Thanks.