note 95425 added to function.feof
| From: | jakicoll at osu1 dot php dot net | Date: | Sun, 03 Jan 2010 00:59:15 +0000 |
| Subject: | note 95425 added to function.feof | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-164543@lists.php.net to get a copy of this message | ||
Please note that feof() used with TCP-Connections, returns false as long as the connection is open.
It even returns false when there is no data available.
BTW: Using feof() with HTTP for a single request, you should always make sure that you set the
HTTP-Header "Connection" to "close" and _not_ to "keep-alive".
----
Server IP: 212.124.37.9
Probable Submitter: 88.76.119.128
----
Manual Page -- http://www.php.net/manual/en/function.feof.php
Edit -- https://master.php.net/note/edit/95425
Del: integrated -- https://master.php.net/note/delete/95425/integrated
Del: useless -- https://master.php.net/note/delete/95425/useless
Del: bad code -- https://master.php.net/note/delete/95425/bad+code
Del: spam -- https://master.php.net/note/delete/95425/spam
Del: non-english -- https://master.php.net/note/delete/95425/non-english
Del: in docs -- https://master.php.net/note/delete/95425/in+docs
Del: other reasons-- https://master.php.net/note/delete/95425
Reject -- https://master.php.net/note/reject/95425
Search -- https://master.php.net/manage/user-notes.php