is there any way to get timestamp for a file uploaded by user (something like filemtime(), but for original file) ?
thanx, t.
Well I imagine the user would upload the file through a form, so I would just use a hidden form field with the value of the current time.
try the date() function. you can look in the manual for details.
Actually, what I need to know is date/time when the uploaded file was created or modified. I think it is not possible to get this inforation when file is uploaded through a form... or any idea ?
Look at: filemtime (string filename); fileatime (string filename); filectime (string filename);
I didn't see a function for the created attribute but you can look more indepth here: http://www.phpbuilder.com/manual/ref.filesystem.php