RE: [PHP-WIN] can't read binary files containg '0x0' character

2001-10-15 Thread Svensson, B.A.T.
rite mode might cause additional junk be appended to the end of the file - causing lots of problem for other applications. Cheers, /Anders >-Original Message- >From: Roland Divin [mailto:[EMAIL PROTECTED]] >Sent: Friday, October 12, 2001 9:33 PM >To: [EMAIL PROTECTED] &

Re: [PHP-WIN] can't read binary files containg '0x0' character

2001-10-12 Thread Roland Divin
Thanks, you're right. Now it works even using dll module (not CGI) version. Anyway it is strange that the behavior of the fread function is conditioned whether I use dll module or CGI... Roland "Mark" <[EMAIL PROTECTED]> píse v diskusním príspevku [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On

Re: [PHP-WIN] can't read binary files containg '0x0' character

2001-10-12 Thread Mark
On Fri, 12 Oct 2001 21:00:24 +0200, Roland Divin wrote: >Hi, >I can'r read binary file that contains '0x0' character. Reading >process >stops after reading '0x0' character on windows version of PHP. On >Linux it >does not. > >That same code gives another result on windows then on linux. Why? >(Con