exif_read_data
| From: | John Ellingsworth | Date: | Wed, 04 Jun 2003 14:44:44 +0000 |
| Subject: | exif_read_data | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-20188@lists.php.net to get a copy of this message | ||
Does anyone know of a workaround for this problem?
The doc for exif_read_data function says filename cannot be a url.
I need a way to get the non-functioning example to work.
Thanks in advance.
\\This works:
$exif = exif_read_data('\photos\010202\010202_001.jpg',0,true);
foreach($exif as $key=>$section) {
foreach($section as $name=>$val) {
echo "$key.$name: $val<br />\n";
}
}
\\THIS DOES NOT:
$origpath = "\photos\010202\010202_001.jpg";
$exif = exif_read_data($origpath,0,true);
foreach($exif as $key=>$section) {
foreach($section as $name=>$val) {
echo "$key.$name: $val<br />\n";
}
}
Thanks,
John Ellingsworth