title: How to add text in a php page
body: <p>I have a PHP code to redirect on other domain, this one</p>
  
  <pre><code>&lt;?php
   header("Location: {$_GET['url']}");
   echo 'You are redirecting to ... page';
   sleep(5);
  ?&gt;
  </code></pre>
  
  <p>And it works like when i add any external url at the end of <strong><a href="http://my-domain.com/URL.php?url=" rel="nofollow noreferrer">http://my-domain.com/URL.php?url=</a></strong> it just redirects to external domain in this case let's take google:</p>
  
  <blockquote>
    <p>http//my-domain.com/URL.php?url=http//www.google.com</p>
  </blockquote>
  
  <p>and it just redirects directly on the page after 5 seconds load but i want to show a php page with some decoration like a loading icon and some text like <code>"Please wait while you're being redirected to http://www.google.com"</code></p>
  
  <p>Also i tried <code>echo 'Please wait while you're being redirected';</code> But it just redirects directly to external domain without showing the message.</p>