Re: [PHP] Problems with text files from a Mac

2002-12-14 Thread Justin French
1. they can export the CSV as DOS/Windows from Excel on the Mac with ease 2. they can pipe the CSV thru any text editor that lets them choose between mac/win/unix line endings (BBEdit/Lite for example) 3. $filecontents = str_replace('\r', '\n', $filecontents); //should work on 13/12/02 1:22 PM,

[PHP] Problems with text files from a Mac

2002-12-13 Thread Sterling Anderson
I am working on an application for a school district and am having some problems with the files they are supplying for import. They are supplying data files and I am writing routines to populate the database using these files. Its a simple file upload then I just need to parse through the tab se