php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21602 Parser wont work after update
Submitted: 2003-01-12 16:46 UTC Modified: 2003-01-27 22:40 UTC
From: matthias dot abt at t-online dot de Assigned:
Status: No Feedback Package: Strings related
PHP Version: 4.3.0 OS: suse 8.0
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2003-01-12 16:46 UTC] matthias dot abt at t-online dot de
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?


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-12 17:00 UTC] sniper@php.net
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.

 [2003-01-27 22:40 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Nov 28 06:03:16 2021 UTC