note 93038 added to function.fread
| From: | eamonatgizzledotcodotuk at osu1 dot php dot net | Date: | Thu, 20 Aug 2009 10:36:20 +0000 |
| Subject: | note 93038 added to function.fread | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-159684@lists.php.net to get a copy of this message | ||
Please not for tcp, ssl, or anything which can be done remotely via telnet do not use fread. use
stream_get_contents instead.
Currently implementing an EPP system and came across this issue.
What happens is freads can read small amounts of data at a time remotely (which makes sense) but
you'll have to put it into a loop to read the info in.
However, if you need to read in massive amounts of information then please use streaming.
Spent hours on this and it's fully frustrated me because I didn't doubt fread for 1
minute.
----
Server IP: 92.48.74.199
Probable Submitter: 78.105.107.181
----
Manual Page -- http://www.php.net/manual/en/function.fread.php
Edit -- https://master.php.net/note/edit/93038
Del: integrated -- https://master.php.net/note/delete/93038/integrated
Del: useless -- https://master.php.net/note/delete/93038/useless
Del: bad code -- https://master.php.net/note/delete/93038/bad+code
Del: spam -- https://master.php.net/note/delete/93038/spam
Del: non-english -- https://master.php.net/note/delete/93038/non-english
Del: in docs -- https://master.php.net/note/delete/93038/in+docs
Del: other reasons-- https://master.php.net/note/delete/93038
Reject -- https://master.php.net/note/reject/93038
Search -- https://master.php.net/manage/user-notes.php