title: "Do you wish to open or save this file" when php page runs too long
body: <p>I have a php script that runs for about 3 minutes.  I used:</p>
  
  <pre><code>set_time_limit(600);
  echo "blah";
  exec("mycommand.exe");
  </code></pre>
  
  <p>I know the code runs, because it's zipping a folder.  However, after a few minutes, IE gives "Do you want to open or save this file?".  </p>
  
  <p>The script has some echo commands.  If I remove the exec() command (it calls a zip utility), the code runs fine, and I see a regular webpage with the outputs of the echo commands.  </p>
  
  <p>If I add the exec() command back in, it gives the "Do you want to open...".  The command in the exec() has no output.  It just zips a folder.  </p>
  
  <p>Any ideas what could cause this?  I thought it might be a timeout issue, but the set_time_limit() doesn't seem to fix it.  I'm thinking it might be a browser setting, or Apache setting?</p>