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

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 10-24-2011, 09: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

Reply


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 01:21 AM


All times are GMT -7. The time now is 06:15 PM.


Powered by vBulletin Copyright © 2013 vBulletin Solutions, Inc.