ID: 21602 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: Strings related Operating System: suse 8.0 PHP Version: 4.3.0 New Comment:
Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2003-01-12 16:46:56] [EMAIL PROTECTED] foreach ($urls as $k){ $start = ''; $online = strip_tags(implode(" ",@file($k))); $trans = get_html_translation_table (HTML_ENTITIES); foreach($trans as $key=>$var){ $story = str_replace($var,$key,$online); } $start = strpos($story,$keywords[$i])+strlen($keywords[$i]); $uo[$i] = trim(substr($online,$start,3)); $i++; } i use this little script with php 4.2.2 to parse other web communities to collect data inside a database who many users are online. After updating the php version, this script produces with an array of four elements three correct results and one trash result? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21602&edit=1