note 33894 deleted from function.iptcparse by tomsommer
| From: | tomsommer@php.net | Date: | Tue, 03 Aug 2004 19:24:16 +0000 |
| Subject: | note 33894 deleted from function.iptcparse by tomsommer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-73871@lists.php.net to get a copy of this message | ||
Note Submitter: tylkospam@megapolis.pl
----
Short description about $source = $iptc["2#110"][0];
Is not source field at all. For example FotoStation Pro use this field for "Credit" data.
If You use this code, be carefull when describe it.
If You looking for other fields (there are many types, much more than here) You can use this basic
code to make preview all fields inside IPTC:
for($i = 0; $i < 255; $i++)
{
if ($i < 10 )
{
$temp = "2#00".$i;
}
else if ($i < 100)
{
$temp = "2#0".$i;
}
else
{
$temp = "2#".$i;
}
echo $temp. " ". $iptc[$temp][0]. "<br> ";
}
Note, this program will show only first field in table.
Greet,
Spam