Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#17 Updated PHP and the class doesn't work anymore

closed
nobody
None
5
2003-10-21
2003-06-16
Anonymous
No

I updated my PHP to 4.3.2 version, and now when i try
to fetch a web page, the class returns only the
beggining of the file. I don't know if it has a real
relation with the PHP atualization, but it happened at
the same time. The size of the beginning of the file
varies from 1460 bytes to 4000 bytes, there's no
pattern on this. Does anyone knows what can be wrong?

Discussion

  • Logged In: NO

    The problem with this is on line 882,

    $results = fread($fp, $this->maxlength);

    this should be:

    while(!feof($fp))
    {
    $results .= fread($fp, 1024);
    }

     
  • Jerrett Taylor
    Jerrett Taylor
    2003-06-18

    Logged In: YES
    user_id=804250

    oops, should have logged in.

     
  • Monte Ohrt
    Monte Ohrt
    2003-10-21

    Logged In: YES
    user_id=10328

    fixed in 1.01

     
  • Monte Ohrt
    Monte Ohrt
    2003-10-21

    • status: open --> closed