[PHP] Quick snippet to convert text files to unix based line endings

2003-03-24 Thread Mike Zornek
I'm writing a little script that is parcing a excel generated csv file. While all the users will be using windows I'd like to make it safe for all file types. Any one have a quick snippet that I could use to convert a temp file to use all \n based line endings for consistency? Thanks. ~ Mike --

Re: [PHP] Quick snippet to convert text files to unix based line endings

2003-03-24 Thread Ernest E Vogelsinger
At 20:36 24.03.2003, Mike Zornek said: [snip] I'm writing a little script that is parcing a excel generated csv file. While all the users will be using windows I'd like to make it safe for all file types. Any one have a quick snippet that I could use to