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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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: Sat Apr 20 06:01:28 2024 UTC