note 35289 deleted from function.feof by nlopess

From: Date: Tue, 16 Dec 2003 15:38:15 +0000
Subject: note 35289 deleted from function.feof by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-62069@lists.php.net to get a copy of this message
Note Submitter: johannes@NOSPAM.zoomposters.com ---- [[ Editor's Note: When no "Connection: " request header is sent to an HTTP/1.1 server, some servers will assume 'close', while some will assume 'keep-alive'. If the server assumes 'keep-alive' then feof()==false is to be expected. ]] When reading remote files, I did not get feof=true at the end files from some servers when using HTTP/1.1. When using HTTP/1.0, feof functioned correctly for all servers.

« previous php.notes (#62069) next »