note 14427 added to function.feof.php

From: Date: Tue, 31 Jul 2001 09:36:00 +0000
Subject: note 14427 added to function.feof.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-16090@lists.php.net to get a copy of this message
Considering sockets, feof returns true if the connection is closed. You should add a connection:close header for HTTP requests. Note that you can't use this function in connection with fgets to read the result from an FTP command, since the connection is not closed in this case. http://www.php.net/manual/en/function.feof.php

« previous php.notes (#16090) next »