Hello guys,
I wonder, how can I insert meta data such as geo coordinates (longitude and latitude) into JPEG file with PHP? I found PHP Exif functions manual, but it seems it will not work for me, because these are read only functions.
| SitePoint Sponsor |




Hello guys,
I wonder, how can I insert meta data such as geo coordinates (longitude and latitude) into JPEG file with PHP? I found PHP Exif functions manual, but it seems it will not work for me, because these are read only functions.

Yes, the EXIF functions are read-only. What you need is PEL.








I can't find any example in Google. Could you guys share if you have one please. I've read part of documentation and I even can't understand what function should I use for geotargeting.
Bookmarks