note 104219 deleted from function.iptcembed by danbrown

From: Date: Wed, 01 Jun 2011 19:02:57 +0000
Subject: note 104219 deleted from function.iptcembed by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-180175@lists.php.net to get a copy of this message
Note Submitter: darcy at 1000camels dot com ---- in addition to micheall's change to the set() method for supporting arrays in keyworks and other tags, you also need to adjust the binary method below: function binary() { $iptc_new = ''; foreach (array_keys($this->meta) as $s) { $c = count ($this->meta[$s]); for ($i=0; $i <$c; $i++) { $tag = str_replace("2#", "", $s); $iptc_new .= $this->iptc_maketag(2, $tag, $this->meta[$s][$i]); } } return $iptc_new; } i found this on another site, which appears to be micheall's work as well: http://www.phpfreaks.com/forums/index.php?topic=333706.0

« previous php.notes (#180175) next »