note 104219 added to function.iptcembed
| From: | darcy at 1000camels dot com | Date: | Wed, 01 Jun 2011 17:27:43 +0000 |
| Subject: | note 104219 added to function.iptcembed | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-180169@lists.php.net to get a copy of this message | ||
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
----
Server IP: 69.147.83.197
Probable Submitter: 206.169.225.114
----
Manual Page -- http://www.php.net/manual/en/function.iptcembed.php
Edit -- https://master.php.net/note/edit/104219
Del: integrated -- https://master.php.net/note/delete/104219/integrated
Del: useless -- https://master.php.net/note/delete/104219/useless
Del: bad code -- https://master.php.net/note/delete/104219/bad+code
Del: spam -- https://master.php.net/note/delete/104219/spam
Del: non-english -- https://master.php.net/note/delete/104219/non-english
Del: in docs -- https://master.php.net/note/delete/104219/in+docs
Del: other reasons-- https://master.php.net/note/delete/104219
Reject -- https://master.php.net/note/reject/104219
Search -- https://master.php.net/manage/user-notes.php