I've read the manual, and I'm still stuck, partially due to the manual 
itself. This is the first time I've dealt with this particular issue 
(parsing IPTC info from JPEGs).

The example provided in the manual entry on GetImageSize:

<?php
     $size = GetImageSize ("testimg.jpg",&$info);
     if (isset ($info["APP13"])) {
         $iptc = iptcparse ($info["APP13"]);
         var_dump ($iptc);
     }
?>

Gives me the following error on php 4.0.6:

Warning: Call-time pass-by-reference has been deprecated - argument 
passed by value; If you would like to pass it by reference, modify the 
declaration of getimagesize(). If you would like to enable call-time 
pass-by-reference, you can set allow_call_time_pass_reference to true in 
your INI file. However, future versions may not support this any longer.

I don't understand what I need to pass to getImageSize in order to 
extract the IPTC info.

Can someone point me in the right direction with this?

Thanks,

Steven



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to