note 33894 added to function.iptcparse
| From: | tylkospam at megapolis dot pl | Date: | Thu, 10 Jul 2003 10:00:51 +0000 |
| Subject: | note 33894 added to function.iptcparse | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-51842@lists.php.net to get a copy of this message | ||
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
----
Manual Page -- http://www.php.net/manual/en/function.iptcparse.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33894
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33894&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33894&report=yes