ID: 13930 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Filesystem function related Operating System: OSX PHP Version: 4.0.6 New Comment:
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 Previous Comments: ------------------------------------------------------------------------ [2001-11-10 04:05:02] [EMAIL PROTECTED] 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-05 02:11:05] [EMAIL PROTECTED] 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) ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=13930&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]