We have a text file that is 2.2gb in size that we are trying to parse
using PHP to put the content into a mysql database. This file contains
40 million individual lines of data.  Basically PHP isn't parsing it.
Any suggestions of how we could do this?

Process the file line-by-line instead of all-at-once, using fgets(). Check your max execution time, as William suggests. Post a little example code or an error message.

----------------------------------------------------------------
michal migurski- contact info and pgp key:
sf/ca            http://mike.teczno.com/contact.html

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to