note 20756 deleted from function.fwrite by hholzgra
| From: | hholzgra@php.net | Date: | Fri, 12 Jul 2002 14:56:18 +0000 |
| Subject: | note 20756 deleted from function.fwrite by hholzgra | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-32975@lists.php.net to get a copy of this message | ||
I solved the problem of writing a "newline" understood by windows systems by appending
chr(13) and chr(10) (CR/LF) to the string I was adding.
$str = "my string".chr(13).chr(10);
fwrite($fp, $str, strlen($str));
Hope this helps!
---
Fra.