title: PHP Header redirect to Multiple URLs with a time gap
body: <p>Can i use header() to redirect to multiple URLs with a time gap in between? Suppose i have url1 and url2. Now, what i want is that header first redirects to url1. Then say,after 5 seconds, it redirects me to url2. Is there a way i can do that?
  I tried the following simple code</p>
  
  <pre><code>&lt;?php
  header("Location: url1");
  header("Location: url2");
  ?&gt;
  </code></pre>
  
  <p>But this takes me immediately to url2. I want a time gap in between. How can that be done? Thanks in advance.</p>