Re: control M from export file

From: Date: Mon, 29 Sep 2003 22:16:51 +0000
Subject: Re: control M from export file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-164316@lists.php.net to get a copy of this message
* Thus wrote Ed Kwok (ekwok1@san.rr.com): > All: > > I am running into problem parsing a file exported from MS excel. I > have exported the file as asci format, but there is a control "M" > append to my document. What is this control "M" and how can I delete > without manually replace it? Is there any automated function I could > use? Thanks. It depends on how you are parsing the file here are a couple things to look at depending on how your reading your file: fgetcsv() it shouldn't really matter. fgets() or file() look at the php.ini option 'auto_detect_line_endings' Curt -- "I used to think I was indecisive, but now I'm not so sure."

« previous php.general (#164316) next »