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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
16 + 30 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 10:01:29 2024 UTC