I have a problem here im trying to upload a file
first time it is moving the filename from temp it its respective directory,
but again i try ot upload the a
What about...
$place_file = "$path/$upload_to/$file_name"; if (file_exists($place_file)) { $place_file = date("mdYHis")."_".$file_name; } if (!move_uploaded_file($tmp, $place_file)) { echo "Could not move file"; exit; }