Hello monks,
here's my question: I wrote a script that generates a text file of arbitrary length (but usually in the range of 4000 lines or so). The text consists of commands for a program called PAUP* and it's in the nexus file format for phylogenetic inference. Anyway, that's not important right now. What's important is this: the script runs just fine from the command line, but I want to run it as a CGI program so that the user can input some settings for the PAUP* commands using an HTML form and the script subsequently spits out those 4000 lines. I got that to work in so far that it properly starts printing out the text (either to a browser window, or if I roll my own MIME-type, e.g. Content-type: text/nexus, to a file) but usually not till completion. For example, I get the first 2000 lines, but not the rest? What do I do? I am running apache under cygwin, and, although I can poke around in httpd.conf to my heart's content I'd rather not. Thank you for any replies.