I have a text file that is over 25mb in size.
My script reads in the file into a string, then breaks it apart into a 2 dimensional array then performs various operations (lots of for and while loops) on the array such as inserting data into a mysql database.
The mulidimensional arrays may contain 30,000 columns which each column holding an array of 30 attributes. ( these are just estimates)
Will this be possible with such a huge file? I ran it a few times and it failed to read in the entire file contents.
What precautions should I take? I reset the apache timeout - are their others I should take note of (PS. I'm on a mac, can't find the php.ini file).
Are there array size limits I should know about?
Thanks
John