Re: csv files generated by php breaked by browser

From: Date: Thu, 14 Dec 2000 21:40:46 +0000
Subject: Re: csv files generated by php breaked by browser
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-30363@lists.php.net to get a copy of this message
Yes, my eol are like this: "\r\n". The files are physically ok, i repeat. The problem is that the browser twists them. I can't figure out where are those 0D comming from. Daniel Convissor <danielc@analysisandsolutions.com> wrote in message news:3A38E98D.A7DC2F01@analysisandsolutions.com... > Hey Uioreanu: > > > It's ok until now. The problem is with my client's browser i suppose. > > When he opens this link, he sees the lines, but sepparated by empty lines. > > He sent me those files and I look over them. The difference between my files > > and his are that my end of lines are (hexa) OD OA and his's are OD OD OA. > > How does this OD appears? > > I'm guessing it's interpretation differences by the browsers. But, maybe > not... What are you using to save the lines? I generally do something like > this without problem. > > fput($fileid, "text\r\n"); > > Enjoy, > > --Dan > > -- > PHP scripts that make your job easier > http://www.analysisandsolutions.com/code/ > SQL Solution | Layout Solution | Form Solution > T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y > 4015 7 Ave, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#30363) next »