note 94395 deleted from function.iptcembed by danbrown

From: Date: Mon, 02 Nov 2009 16:02:40 +0000
Subject: note 94395 deleted from function.iptcembed by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-162337@lists.php.net to get a copy of this message
Note Submitter: dav dot banks at embarqmail dot com ---- I made this edit to the binary function below to enable multiple Keywords. function binary() { $iptc_new = ''; foreach (array_keys($this->meta) as $s) { $tag = str_replace("2#", "", $s); if(is_array($this->meta[$s][0])) { foreach($this->meta[$s][0] as $member) { $iptc_new .= $this->iptc_maketag(2, $tag, $member); } } else $iptc_new .= $this->iptc_maketag(2, $tag, $this->meta[$s][0]); } return $iptc_new; }

« previous php.notes (#162337) next »