> >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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php