note 93038 deleted from function.fread by mazzanet

From: Date: Thu, 20 Aug 2009 13:43:16 +0000
Subject: note 93038 deleted from function.fread by mazzanet
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-159694@lists.php.net to get a copy of this message
Note Submitter: eamon at gizzle dot co dot uk ---- 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.

« previous php.notes (#159694) next »