note 45345 added to function.iptcparse

From: Date: Thu, 02 Sep 2004 20:56:38 +0000
Subject: note 45345 added to function.iptcparse
Groups: php.notes 
Request: Send a blank email to php-notes+get-75958@lists.php.net to get a copy of this message
I need to extract title with iptcparse(), I found this on the net: $size = GetImageSize ("teglvaerk.jpg", &$info); $iptc = iptcparse($info["APP13"]); echo $iptc["2#005"][0];?><br> and would like to use this and not "exif_read_data", but cant get to work, would someone help me. Se and DL the full script on www.tera-sat.com (I'm new to PHP) The code i use now looks like this. $exif = exif_read_data ($files[$iu],0,true); if (array_key_exists('IFD0', $exif)) { if (array_key_exists('Artist', $exif['IFD0'])) ?> Titel: <?=$exif['IFD0']['Artist'] ---- Manual Page -- http://www.php.net/manual/en/function.iptcparse.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+45345 Delete -- http://master.php.net/manage/user-notes.php?action=delete+45345&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+45345&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#75958) next »