note 102291 added to function.fopen

[email protected]
Newsgroups php.notes
Message-ID <[email protected]>
[fopen note]

I have been trying unsuccessfully to upload and read a Mac OS file on a Linux server. Lots of records show up a just one big using only the following:

$fhandle = fopen($file, 'r');
  or
$fhandle = fopen($file, 'rb');

It does work, however, this way:

ini_set('auto_detect_line_endings', TRUE);
$fhandle = fopen($file, 'r');
----
Server IP: 192.41.42.26
Probable Submitter: 66.191.162.225
----
Manual Page -- http://www.php.net/manual/en/function.fopen.php
Edit        -- https://master.php.net/note/edit/102291
Del: integrated  -- https://master.php.net/note/delete/102291/integrated
Del: useless     -- https://master.php.net/note/delete/102291/useless
Del: bad code    -- https://master.php.net/note/delete/102291/bad+code
Del: spam        -- https://master.php.net/note/delete/102291/spam
Del: non-english -- https://master.php.net/note/delete/102291/non-english
Del: in docs     -- https://master.php.net/note/delete/102291/in+docs
Del: other reasons-- https://master.php.net/note/delete/102291
Reject      -- https://master.php.net/note/reject/102291
Search      -- https://master.php.net/manage/user-notes.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.