Re: fputs - need help!
| From: | Richard Lynch | Date: | Tue, 16 Jul 2002 04:40:56 +0000 |
| Subject: | Re: fputs - need help! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-107794@lists.php.net to get a copy of this message | ||
>
>Hi
>
>I use this line
>
>fputs ($sysname_log, "$time - SystemName: $sysname\n");
>
>I would like to get a log file, and everytime I refresh this page it will
>make a new line and write
>$the local time - SystemName: $sysname
>So after a while it will look like this
>
>$the local time - SystemName: $sysname
>$the local time - SystemName: $sysname
>$the local time - SystemName: $sysname
>
>BUT, this is not working, I don´t get a new line, everything is on the same
>line. Why??
>I use WIN2K and IIS.
The Windows newline characters are "\r\n" not just "\n"
--
Like Music? http://l-i-e.com/artists.htm