php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18635 file -- Reads entire file into an array "Error"
Submitted: 2002-07-30 04:30 UTC Modified: 2002-09-11 11:48 UTC
From: nelles at epost dot de Assigned:
Status: Not a bug Package: Filesystem function related
PHP Version: 4.2.2 OS: win NT
Private report: No CVE-ID: None
 [2002-07-30 04:30 UTC] nelles at epost dot de
Hello,

when we use file() in 4.2.2 and 4.2.1 to read CSV-fileformat, the returned array replaced " with \" and ' with \' . This error is not in 4.1.2 ! This error makes problem for every CSV-Parser based on file().

Thanks G?nter

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-30 18:23 UTC] sniper@php.net
Do you happen to have magic_quotes_runtime enabled in php.ini? (or some other magic_quotes_* directive)


 [2002-09-11 11:48 UTC] sniper@php.net
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 10:01:28 2024 UTC