Page 1 of 1

save PHP output to text after its displayed

Posted: Thu Aug 07, 2003 3:21 am
by Tubbietoeter
Hey guys,

is there a way to save the displayed content of a PHP site to a plain file automatically before the end of the script is reached?
i execute severeal programs with system(). the output is flushed so the user has a life display and sees whats going on. i cannot edit the programs though, but i need to log the displayed results of these programs.

i cant save the results to strings either, since i need them to be flushed. the progs take some time executing an those silly users wont wait to the end if they dont see the output changing.

thanks for your help,


steff

Posted: Fri Aug 08, 2003 1:38 am
by Tubbietoeter
no idea?

Posted: Fri Aug 08, 2003 8:10 am
by nielsene
Well what about builidng up a "save" string as you echo out the life display. That way you have a full text string to write to a file before you end the script?