Getting EXIF data from external images (http URLs)



Hi all,


exif_read_data() doesn't support URLs
(http://php.net/manual/en/function.exif-read-data.php ) but I would
like to do that with the minimum traffic and overhead possible.


A naive solution would be downloading the whole target file locally and
then call exif_read_data() but that means a lot of overhead traffic
considering I only want the exif header.

My approach would be getting just the header but

1) Did anyone implement it already?

2) Is it possible? Any suggestions/advices about how to acheive it? (I
know some php but I'm far from being an expert)

Thanks in advance

Alfonso Acosta

.