php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33846 iptcparse does not read 2#092
Submitted: 2005-07-24 23:52 UTC Modified: 2005-07-25 01:25 UTC
From: dyrex at poczta dot onet dot pl Assigned:
Status: Not a bug Package: *Graphics related
PHP Version: 4.4.0 OS: Windows
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: dyrex at poczta dot onet dot pl
New email:
PHP Version: OS:

 

 [2005-07-24 23:52 UTC] dyrex at poczta dot onet dot pl
Description:
------------
when i've used iptcparse for picture where 2#092 (sublocation) field is set iptcparse does not put field value in output array. In my sourcecode $user3 is empty

Reproduce code:
---------------
 (is_array($iptc['2#92'])) && ($user3.=implode(" ", $iptc['2#92']));


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-07-24 23:55 UTC] helly@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

your code is wrong probably you wanted isset() instead of is_array().
 [2005-07-25 01:25 UTC] dyrex at poczta dot onet dot pl
I think it is ok. If ITC field was e.g "South America" the result is array (at least it works in that way for keyword). I've even tried to call itcparse and in the next line call print_r. Several fields were printed but 2#092 was not printed. Maybe iptcparse read predefined list of IPTC fields ?
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 09 23:01:27 2024 UTC