Re: read_exif_data()
| From: | Rasmus Lerdorf | Date: | Fri, 30 Jun 2000 04:44:45 +0000 |
| Subject: | Re: read_exif_data() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-3952@lists.php.net to get a copy of this message | ||
On Thu, 29 Jun 2000, Jerry Allen wrote:
> Pardon my ignorance...
>
> What is the correct usage for read_exif_data() or
> where can I find the docs for this new feature...
No real docs yet. But it is super-simple.
$info = read_exif_data("file.jpg");
Then you have an associative array with whatever exif fields the exif
function was able to grab. Walk through it using:
while(list($k,$v)=each($info)) {
echo "$k: $v<br>\n";
}
This will of course only work if you compiled PHP using --enable-exif
-Rasmus