Posted by NC on 06/14/06 02:25
Sonnich wrote:
>
> I use a simple line as this
> fwrite($fil, $filename. "\n");
>
> and when I look at the file I get the filename and an odd character in
> the end, but the lineshift does work - AFAIK it should work.... any
> ideas why?
Let me guess: you are viewing your file in Notepad on Windows. If
that's the case, try this:
fwrite($fil, $filename. "\r\n");
Cheers,
NC
[Back to original message]
|