note 14427 deleted from function.feof by jimw

From: Date: Thu, 20 Dec 2001 20:09:16 +0000
Subject: note 14427 deleted from function.feof by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-23390@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.

« previous php.notes (#23390) next »