php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13930 file() missing line 1
Submitted: 2001-11-05 02:11 UTC Modified: 2001-11-11 02:17 UTC
From: rich67dev at hotmail dot com Assigned:
Status: Closed Package: Filesystem function related
PHP Version: 4.0.6 OS: OSX
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: rich67dev at hotmail dot com
New email:
PHP Version: OS:

 

 [2001-11-05 02:11 UTC] rich67dev at hotmail dot com
It would seem that file() and other related functions do 
not read the first line on OSX.  I tested this on another 
non- OSX bsd box - and reads from line 1 were fine.  I have 
also tested this in the past on Linux (RedHat 6.2 in 
particular)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-10 04:05 UTC] sniper@php.net
This should be fixed in CVS. Could you please try the
latest CVS snapshot from http://snaps.php.net/ and if 
it doesn't work, reopen this bug report.

 [2001-11-11 02:17 UTC] rich67dev at hotmail dot com
This also may be my bad - due to lack of experience with 
this particular function.  Anyway, what is really going on 
is that if you do not include a file extenstion such as txt 
or .sql etc the function starts reading from line two.  So, 
the problem is actually not tied to OSX.  

Thanks nonetheless,
Regards
RBS
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Oct 12 16:01:26 2024 UTC