Jump to content

shell_exec output buffer


The Little Guy

Recommended Posts

I am using shell_exec, and it runs a ping on a server, is there any way to flush the buffer of the shell_exec as the data is getting written to the buffer?

 

Because I sometimes ping a site 10 times and nothing get written until the function finishes, so is there anyway to write out the output as soon as it is available?

 

btw, this isn't only for doing a ping it is for other things as well.

Link to comment
https://forums.phpfreaks.com/topic/247305-shell_exec-output-buffer/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.