title: php header redirect not echoing text before redirect
body: <p>why is my code not showing/printing "redirecting now ...." text before it redirects.keep in mind that I don't want to use javascript or http_redirect() to redirect.The later will break the flow of my logic.</p>
  
  <pre><code>&lt;?php
  ob_start();
  
  echo "redirecting now ....";
   sleep(3);    
      header("Location:index.html");
      exit();
  
  
  ob_end_flush();
  ?&gt; 
  </code></pre>