Re: [PHP] Opening large text files on Windows

2002-05-24 Thread Analysis & Solutions
Hi Richard: On Fri, May 24, 2002 at 02:42:59PM +0100, Meredith-Wilks, Richard wrote: [NOTE: Read throuhg the whole thing before commenting... --Dan] > set_time_limit(200); > $datafile = fopen ("text.txt", "r"); > while (!feof ($datafile)) { > $array = fgets($datafile, 10

[PHP] Opening large text files on Windows

2002-05-24 Thread Meredith-Wilks, Richard
Good afternoon all. I have a problem with opening a text file in PHP. The file is test.txt a comma separated file with 62,000 lines (4Mb) of data. I have extended the execution time to 200 seconds to allow time to read the file. The code I am using is below. set_time_limit(200); $datafi