note 35289 modified in function.feof by pollita

From: Date: Tue, 26 Aug 2003 21:25:46 +0000
Subject: note 35289 modified in function.feof by pollita
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-55144@lists.php.net to get a copy of this message
[[ 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. --was-- 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. http://www.php.net/manual/en/function.feof.php

« previous php.notes (#55144) next »