Register on the forum now to remove ALL ads + popups + get access to tons of hidden content for members only!

Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > HTML / DHTML


Thread Tools Rate Thread Display Modes
Old 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.
ncjbhd is offline   Reply With Quote


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
include file using html ncjbhd HTML / DHTML 0 10-17-2011 12:21 AM

All times are GMT -7. The time now is 08:17 AM.

Powered by vBulletin Copyright © 2013 vBulletin Solutions, Inc.