RE: [PHP] file() and macintosh line break

2002-05-01 Thread Darren Gamble
amble Planner, Regional Services Shaw Cablesystems GP 630 - 3rd Avenue SW Calgary, Alberta, Canada T2P 4L4 (403) 781-4948 > -Original Message- > From: Rodrigo Peres [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 01, 2002 8:55 AM > To: [EMAIL PROTECTED] > Subject: [PHP]

[PHP] file() and macintosh line break

2002-05-01 Thread Rodrigo Peres
Hi list, I'm in a problem that is driving me crazy!!! I want open a file and puts each line into an array, but this files was created in macintosh!! so the file() can't recognize the end line and only outputs 1 element in array!! How can I solve it. I tried to fread() the file and eregi_repla