ID: 38361
User updated by: sathia dot musso at gmail dot com
Reported By: sathia dot musso at gmail dot com
-Status: Open
+Status: Closed
Bug Type: DOM XML related
Operating System: slackware
PHP Version: 5.1.4
New Comment:
closed because it was another error.
sorry
Previous Comments:
------------------------------------------------------------------------
[2006-08-06 23:30:20] sathia dot musso at gmail dot com
Description:
------------
i'm using this function to collect the img tags on a external webpage.
i found that the collector wont work if the tag is out of standard ie:
<img src="/images/83.jpeg" class="image" width="75" height="100"
border="0" alt="bodyjoy83.jpeg" title="Nome del file : bodyjoy83.jpeg
size : 37KB
widthxheight : 450x600
inserted: 28 Apr 2006">
(there are actually several line break inside the title attribute)
Reproduce code:
---------------
$doc = new DOMDocument();
$doc->loadHTMLFile($safe_url);
$tags = $doc->getElementsByTagName('img');
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38361&edit=1