in reply to Re: Saving .cgi Output; Passing File As Argument?
in thread Saving .cgi Output; Passing File As Argument?

Thanks for the reply, the users upload a .dat file which gets extracted and parsed and the script spits out a bunch of information based on the content. Since they do have to upload files to the server and it has to be extracted, I have the files uploaded and named based on a sequential counter so that each are unique and I know how many of times it's been used (I have the script delete the files at the end of the script)--the trouble is I don't know how to save the output at all other than brute-force doubling every print statement and pushing it to a file.
  • Comment on Re^2: Saving .cgi Output; Passing File As Argument?

Replies are listed 'Best First'.
Re^3: Saving .cgi Output; Passing File As Argument?
by MidLifeXis (Monsignor) on Oct 20, 2014 at 18:28 UTC

    How about, instead of printing at every step, collecting the data to print, and then printing to both locations destinations in a single location?

    Update: minor wording change

    --MidLifeXis