Hi. I'm relatively new to php and was wondering if there is a way to check a remote image size in bytes. I'm trying to write a script that will compare a remote file's size with a local file's size.
Right now i have it so the script reads the remote file and writes it locally as a temp file then i check each of the file sizes and compare them. This way takes too much resource wise and I was wondering if there is a easier way.
Possibly read_exif_data? But my webhost doesn't have the right php build.