ID:               24414
 Updated by:       [EMAIL PROTECTED]
 Reported By:      gfraley5 at earthlink dot net
 Status:           Bogus
 Bug Type:         Filesystem function related
 Operating System: XP and Linux
 PHP Version:      4.3.2
 New Comment:

fread() is not guaranteed to return the number of bytes that you
requested when working with anything other than local files.
You need to be prepared to read the data in chunks, as shown in the
example towards the bottom of the manual page.

Even better, just use file_get_contents() to read the whole page.


Previous Comments:
------------------------------------------------------------------------

[2003-06-30 12:18:04] gfraley5 at earthlink dot net

Where can I get RC2 to try it?  Did you try it under 4.3.2?  That is
your latest stable public release.  It is not working and if it works
under rc2, but not rc1, then something HAS changed and it is a bug and
is NOT bogus.  at the very lease it should be labeled Closed.

------------------------------------------------------------------------

[2003-06-30 12:11:49] [EMAIL PROTECTED]

I tried it, it worked fine. (using PHP 4.3.3RC2-dev)


------------------------------------------------------------------------

[2003-06-30 12:09:51] gfraley5 at earthlink dot net

Come on!  Try the friggin' code!  It works under your previous releases
and it doesn't work under your current and future releases.  Sniper,
you do not belong working with the public.  This is the most assinine
response I have ever seen.  I have proven it, given you the code to
prove it, detailed it, and you come back with this ludicrous statement.
 if my code is still wrong, then prove it to me.  I changed it to the
'rb' and tried it and IT STILL DOES NOT
WORK!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Wez, please respond to this.  You seem to know how things work and how
to deal with the public that tries to help you guys.

------------------------------------------------------------------------

[2003-06-30 12:03:34] [EMAIL PROTECTED]

Not PHP bug.


------------------------------------------------------------------------

[2003-06-30 11:50:28] gfraley5 at earthlink dot net

Wez, I tried that but forgot to mention it.  Even with changing it to
'rb' it still does not work.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/24414

-- 
Edit this bug report at http://bugs.php.net/?id=24414&edit=1

Reply via email to