note 15041 deleted from function.read by nlopess
| From: | nlopess@php.net | Date: | Sat, 26 Jun 2004 11:38:25 +0000 |
| Subject: | note 15041 deleted from function.read by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-71750@lists.php.net to get a copy of this message | ||
Note Submitter: b_adele@netcourrier.com
----
In php 4.0.6
<br>
the next line not work, that block the php code
while (read($this->socket, $out, 2048)) {
$this->data .= $out;
}
<br>
but if you add ">=0" at end of the loop while , it will work.
<br>
while (read($this->socket, $out, 2048)>=0) {
$this->data .= $out;
}