Intermittently, I need to output large amounts of information from a database to a text file. This must be done from a web interface, to facilitate other users.
Currently I use:
$fd= fopen("../public/$filename.html","a") or die("Can't open file");
$fout = fwrite ($fd, $information);
fclose($fd);
within a loop until all the required rows have been written. However, I get a timeout message in the browser, as the information cannot be written within the time allowed (I think 30 sec).
Has anyone any better ideas for how this info can be outputted?
Thanks
Conor.
http://www.iformix.com