View Single Post
Old 10-24-2011, 08:43 PM   #1
ncjbhd
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.
ncjbhd is offline   Reply With Quote