note 87143 added to function.exif-read-data
| From: | michael | Date: | Fri, 21 Nov 2008 05:01:23 +0000 |
| Subject: | note 87143 added to function.exif-read-data | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-146786@lists.php.net to get a copy of this message | ||
From - darkain at darkain dot com 's example.
If all the data is from the same image - simply
<?php
$exif_data = exif_read_data ( $_FILES['photo']
$emake =$exif_data['Make'];
$emodel = $exif_data['Model'];
$eexposuretime = $exif_data['ExposureTime'];
$efnumber = $exif_data['FNumber'];
$eiso = $exif_data['ISOSpeedRatings'];
$edate = $exif_data['DateTime'];
?>
will work, I tried using the PEL library, and while pretty cool, I can't for the life
understand how to call some things, this is simpler if your system is pretty basic or if you're
in a rush. If you have time, try playing with PEL. It's not maintained at the moment though..
http://pel.sourceforge.net/
----
Server IP: 66.207.199.35
Probable Submitter: 205.206.81.108
----
Manual Page -- http://www.php.net/manual/en/function.exif-read-data.php
Edit -- https://master.php.net/note/edit/87143
Del: integrated -- https://master.php.net/note/delete/87143/integrated
Del: useless -- https://master.php.net/note/delete/87143/useless
Del: bad code -- https://master.php.net/note/delete/87143/bad+code
Del: spam -- https://master.php.net/note/delete/87143/spam
Del: non-english -- https://master.php.net/note/delete/87143/non-english
Del: in docs -- https://master.php.net/note/delete/87143/in+docs
Del: other reasons-- https://master.php.net/note/delete/87143
Reject -- https://master.php.net/note/reject/87143
Search -- https://master.php.net/manage/user-notes.php