I have a site where users upload photos, but it's important that they don't upload the same photo twice. I need to compare each uploaded file to all of the photos in a directory to see if the image already exists. The one catch- I can't use the file name. Is there a way to compare the sizes of all of the photos at once to see if there is a match?
I haven't tried any code yet as I have no idea if this is possible.