save PHP output to text after its displayed

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Tubbietoeter
Forum Contributor
Posts: 149
Joined: Fri Mar 14, 2003 2:41 am
Location: Germany

save PHP output to text after its displayed

Post 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
Tubbietoeter
Forum Contributor
Posts: 149
Joined: Fri Mar 14, 2003 2:41 am
Location: Germany

Post by Tubbietoeter »

no idea?
User avatar
nielsene
DevNet Resident
Posts: 1834
Joined: Fri Aug 16, 2002 8:57 am
Location: Watertown, MA

Post 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?
Post Reply