note 3973 deleted from feof by ronabop

From: Date: Sun, 27 Aug 2000 11:21:01 +0000
Subject: note 3973 deleted from feof by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-3454@lists.php.net to get a copy of this message
I use this to read from a file (actually a web page): <PRE> while(!feof($fp)) { $content .= fgetc($fp); //by char } </PRE> Afterwards, my <TT>$content</TT> variable has the last character of ASCII 255 (y with tilde). Any ideas how I can get rid of this?

« previous php.notes (#3454) next »