Why doesn't this code work?
| From: | Abdul Abdul | Date: | Fri, 30 Jan 2015 14:26:51 +0000 |
| Subject: | Why doesn't this code work? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-324333@lists.php.net to get a copy of this message | ||
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.