Re: Re: PHP 4.0 Bug #9373 Updated: Filesystem read not binary safe?

From: Date: Fri, 23 Feb 2001 15:37:16 +0000
Subject: Re: Re: PHP 4.0 Bug #9373 Updated: Filesystem read not binary safe?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-47345@lists.php.net to get a copy of this message
On Fri, 23 Feb 2001, Hartmut Holzgraefe wrote: > did you add 'b' to the fopen() mode to enforce binary operation? > > i.e. $fp=fopen($filename,"rb") instead of plain "b"? No we didn't, and yes, if you do, everything works fine :) Thanks for the heads up. Still, it took me some time to find it in the manual even after your email... maybe it's a good idea to simply add it in the list with 'a','r', 'w' and the rest? Also, it says in bright and shiny letters in the manual 'fread -- Binary-safe file read'... somehow I didn't expect that that means I still need to tell fopen about it too :)) thanks for the good work, php4.05.dev runs very stable on our systems now, and it's blazing fast :) regards, Auke van Slooten Muze

« previous php.dev (#47345) next »