php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22089 fgetcsv does not like \r\n inside text content
Submitted: 2003-02-06 04:46 UTC Modified: 2003-02-19 04:38 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: jolyon at mways dot co dot uk Assigned:
Status: No Feedback Package: Filesystem function related
PHP Version: 4.2.3 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
9 + 12 = ?
Subscribe to this entry?

 
 [2003-02-06 04:46 UTC] jolyon at mways dot co dot uk
When importing a line with fgetcsv, if a text string contains \r\n characters it messes up the import as fgetcsv incorrectly believes it to be the end of the line. 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-19 04:38 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 [2011-03-07 20:16 UTC] jbedder at gmail dot com
While doing a data dump via phpmyadmin of a sugar module this issue cropped up making import into a new version of Sugar impossible.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sat Mar 23 22:01:25 2019 UTC