Open IvoRe opened 12 years ago
Would it be good to add to upload.php that the file needs to be saved with
rename( $temp_path_and_file= $targetDir . DIRECTORY_SEPARATOR . $fileName, $destination)
and that move_file_upload() will NOT work. It would have saved me an afternoon of frustration!
Also, $originalname does not contain the original name. It can be found through $_FILES['file']['name'].
Thanks for sharing your code!
Would it be good to add to upload.php that the file needs to be saved with
rename( $temp_path_and_file= $targetDir . DIRECTORY_SEPARATOR . $fileName, $destination)
and that move_file_upload() will NOT work. It would have saved me an afternoon of frustration!
Also, $originalname does not contain the original name. It can be found through $_FILES['file']['name'].
Thanks for sharing your code!