note 53813 deleted from function.fread by nlopess
| From: | nlopess@php.net | Date: | Tue, 14 Jun 2005 09:35:41 +0000 |
| Subject: | note 53813 deleted from function.fread by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-90400@lists.php.net to get a copy of this message | ||
Note Submitter: Thomas
----
Please that, if you're using fread to read from a http connection that it is *not* enough to
call it once with a really large value for "length". The call may return with less data
than available in the web. This even applies to downloading normal-size web pages from other
servers.
You'll need to put "fread" into a loop and check "feof" like other samples
on this page suggest.
Thomas
------------------------------------------------------
http://www.easy2sync.com/en/produkte/e2s4o.php