title: php shell_exec with realtime updating
body: <p>I have this shell program that I want to execute by php. The problem is that it can potentially take a long time, and as of that I need it to have real-time updating to the user's browser.</p>
  
  <p>I read that I may need to use popen() to do that, but I am sort of (ok, I really am :P) a PHP noob and can't figure out how I may be able to do it.</p>
  
  <p>Would appreciate any help!</p>