title: intermediate page before redirect to external links
body: <p>i'm novice in php and already searched the forum for this and found something similar although i don't understand it</p>
  
  <p>i have 2 external links <a href="http://www.hello.com" rel="nofollow">http://www.hello.com</a> and <a href="http://www.bye.com" rel="nofollow">http://www.bye.com</a></p>
  
  <p>on click on each link, i want to load an intermediate page (eg: redirect.php) for 5 second with a </p>
  
  <p>message: "You are leaving misite.com. goodbye."</p>
  
  <p>and then, make the correct to the correct external link that applies in each case.</p>
  
  <p>i need:</p>
  
  <p>1.- content of redirect.php</p>
  
  <pre><code>  &lt;a href="&lt;?php $hello.com = $_GET['link']; ?&gt;"&gt;Continue to external link&lt;/a&gt;
    &lt;a href="&lt;?php $link = $_GET['link']; ?&gt;"&gt;Continue to external link&lt;/a&gt;
  </code></pre>
  
  <p>i'm sure it's wrong. 
  also, i don't know how to put a 5 seconds spinner (gif) an then make the redirection (step3)</p>
  
  <p>2.- link users click on it. is it ok?
  i have:</p>
  
  <pre><code>  &lt;a href="http://redirect.php?link=hello.com" title="hello"&gt;hello&lt;/a&gt;
  </code></pre>
  
  <p>not sure if it's correct
  the link the users hit, tries to call the link in the redirect page, but i'm unable</p>
  
  <p>well, the thing i don't know how to make it work and i really aprecciate an example
  thanks</p>