Have written test code to upload csv files to insert into sql. The code works for small files and at least up to 1000 records or a 374K file which was made with just the first 1000 records of the original file. At some point it breaks and fails giving me the errors:
Message: Undefined index: fileupload (my name for the file)
Message: fopen() filename cannot be empty
All the code does at the moment is to upload a csv file to a temp folder called with $_FILES['name']['tmp_name'] then fopen and then iterated to display the contents of the array to the monitor. Worked fine with smaller files but...
Have to upload as many as a million records or a 92meg file. Are there config settings that need to be changed? Are there other issues that need to be considered?
Other info that might make a difference.
Files open in Excel 2010 and then pasted to new worksheet as values to clean up if needed as files come from outside source then saved as csv. Checked in note pad and the data looks clean enough, it does work in chunks.
Running a quad core at 3.2ghz with 4gig 1333 men on a linux install using lamp, if that makes a difference, which at some point do doubt it does.