10-24-2011, 08:43 PM | #1 |
Registered User
Join Date: Jul 2011
Posts: 262
|
setting file pointer by line
i'm trying to open a tab delimitited file and then insert each line in the database. The problem i'm running into is that the file is 108 mb and apache times out before it can get through the file. I have the logic to do everything except i can't figure out how to start the read at a specific line. Is this possible. I've found fseek which offsets by bytes, but i need to be able to do it by line.
Thanks in advance.
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
include file using html | ncjbhd | HTML / DHTML | 0 | 10-17-2011 12:21 AM |