ID: 7432 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Duplicate Status: Closed Bug Type: Filesystem function related PHP Version: 4.0.3pl1 Assigned To: Comments: Previous Comments: --------------------------------------------------------------------------- [2000-10-24 09:50:17] [EMAIL PROTECTED] If you read a (binary) file character by character with fgetc() you can't read the whole file because you get the EOF before the end of the file. If you try to read the file further with fgetc() you always get the EOF and the variable you read the character into is not set or empty (I don't know which of these, but I think is empty). This appears in the Windows-version (PWS/isapi-PHP and also Apache/apache-PHP-module) but not in the Linux-version (Apache/apache-PHP-module DSO). --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=7432&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]