On 30 January 2015 14:26:51 GMT+00:00, Abdul Abdul <abdul.sw84@xxxxxxxxx> wrote: >Hello, > >I have the following PHP script, where I'm trying to retrieve the image >type. Why doesn't it work? What am I doing wrong? > ><?php >$image="4.2.06" >$imagetype = exif_imagetype($image); >echo "Image type is: " $imagetype; >?> > >Thanks. What does "doesn't work" mean? What output are you getting? Are there any errors or warnings in your logs? Thanks, Ash -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php