I have a site with galleries where people can upload pictures by themselves.
I want to avoid people submitting the same picture twice. I have thought about comparing the filesize and/or the image width/height.
But how do I do that if I lets say have all the uploaded files filesize (and maybe also width & height) in an array?
Or are there any better solutions?