Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   HTML / DHTML (http://siteownersforums.com/forumdisplay.php?f=7)
-   -   setting file pointer by line (http://siteownersforums.com/showthread.php?t=52002)

ncjbhd 10-24-2011 08:43 PM

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.


All times are GMT -7. The time now is 12:52 PM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.