$file = isset($_FILES['fileupload']) ? $_FILES['fileupload']['tmp_name'] : false;
$image = chunk_split(base64_encode(file_get_contents($_FILES['fileupload']['tmp_name']))); //store image in $image
//need help here nothing prints
$exif_ifd0 = read_exif_data($image,'IFD0' ,0);
$notFound = "Unavailable";
if (@array_key_exists('Make', $image))
{
$camMake = $image['Make'];
}
else
{
$camMake = $notFound;
}
echo"$camMake";
hwoarang69 11 Newbie Poster
cereal 1,524 Nearly a Senior Poster Featured Poster
hwoarang69 11 Newbie Poster
cereal 1,524 Nearly a Senior Poster Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.