Abdul Abdul wrote: > Thanks for your support. It seems that I had to add the extension ".tiff" > to the image, since the image is of this type. > > Now, the program returns "8", which seems to be the number that refers to > the type "tiff". > > Thanks a lot for your kind support. > > I was walking through an example that didn't insert the extension of the > image. Why should I include it here explicitly? Because exif_imagetype() expects a filename as parameter (see <http://php.net/manual/en/function.exif-imagetype.php>), and any extension is part of the filename. -- Christoph M. Becker -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php