I am using the following code from the php manual
if (exif_imagetype('$uploaddir.$chkmd5return.".png"') != IMAGETYPE_PNG) {
unlink('$uploaddir.$chkmd5return.".png"');
echo "That wasn't a .png file!";
}
For some reason I am getting this error:
Call to undefined function: exif_imagetype()
I am using php 4.3.10
Thanks for the help...