I would like to change the modification time of an uploaded file because it always returns 01 January 1970, so I am doing the following:
if (move_uploaded_file($_FILES["file"]["tmp_name"], $target_file)) {
touch($_FILES["file"]);
header ('Location: http://www.example.com/php/manager');
// file uploaded but filemtime is 01 Jan 1970
}