Ver originalif (isset($large_image_name)) { $userfile_name = $_FILES['image']['name']; // aqui //... move_uploaded_file($userfile_tmp, $large_image_location);