Hello, I´m creating a system of uploading files. I want to know if there is a way I can check if the file that is being uploaded already exists at that destination before I actually upload the file, and if it is, alert the user about that before doing anything.
To upload the files I´m using;
move_uploaded_file(string $filename, string $destination)
thanks a lot