Since you invite any suggestions ... how about formatting the file itself and letting the web server handle opening and printing it? You could set up a cron job to add the font tag to the large file instead of trying to do so dynamically each request. Also, since you did not supply an example of what your 5 meg file looks like, are you really sure that whitespace is going to be handled the way you think it is?
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
In reply to Re: Opening a Large Text File
by jeffa
in thread Opening a Large Text File
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |