From:             [EMAIL PROTECTED]
Operating system: Windows 98
PHP version:      4.0.4
PHP Bug Type:     *Directory/Filesystem functions
Bug description:  File to file I/O problems

Whenever I read from file and write directly to another, such as in this line:
Any occurances of the byte 0x0A will be replaced by 0x0D0A. If I try to read 
indirectly, like this:
$out = fread($filein,255);
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

Edit Bug report at:

PHP Development Mailing List <>
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