ID: 10388
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: *Directory/Filesystem functions
Operating system: 
PHP Version: 4.0.4
Assigned To: 
Comments:

Without complete (but short) script it's hard to tell.
And have you tried with php 4.0.5 ?

--Jani


Previous Comments:
---------------------------------------------------------------------------

[2001-04-18 19:25:10] [EMAIL PROTECTED]
Whenever I read from file and write directly to another, such as in this line:
fwrite($fileout,fread($filein,255));
Any occurances of the byte 0x0A will be replaced by 0x0D0A. If I try to read 
indirectly, like this:
$out = fread($filein,255);
fwrite($fileout,$out);
The file will always be saved as ASCII, even if I add the "b" flag to fopen. Is this a 
bug, or am I making a stupid mistake?
Your time and effort are greatly appreciated.
 ~ Joe Ferris ~
P.S. Magic quotes are off

---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10388&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]

Reply via email to