From: [EMAIL PROTECTED] Operating system: Windows NT 5.0 build 2195(Windows 2000 Adv Server) PHP version: 4.0.4pl1 PHP Bug Type: Filesystem function related Bug description: fread() / fputs() error with apache modules When I run PHP 4.0.4pl1 as apache module on my Windows 2000 ADV Server, I got the problem. When I fread() from a binary file, or fputs() a binary string to a file, the file not same as my data. The "0x0a" expanded to "0x0d0a", I don't know why. I try it by CGI PHP and PHP command line on same system, them ok. My PHP 4.0.4pl1 Win32 Binary was download from www.php.net. php.ini just changed some from php.ini-dist: short_open_tag = off max_execution_time = 120 session.cache_limiter =private -- Edit Bug report at: http://bugs.php.net/?id=10069&edit=1 -- 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]