April 2026
Intermediate
1009 pages
34h 15m
English
There are thousands of application examples for XML. In principle, XML is used wherever data needs to be stored and exchanged. In this section, XML is used to store image information. Meta information for digital cameras is stored in Exchangeable Image File Format (EXIF).[ 138 ]
Our application should allow the user to upload an image. Part of its EXIF data is then read and packed into an XML file. A second script accesses the XML file and reads a small part of the data.
In order for PHP to access EXIF data, you need the corresponding extension. Under Linux, configure PHP with --enable-exif. Under Windows, simply comment out the following line by removing the semicolon:
extension=php_exif.dll
You may still ...
Read now
Unlock full access