title: Meta refresh on current domain
body: <p>I'm trying to refresh page on the domain that it has been opened on, website can be accessed from multiple domains so I want to use the current one.</p>
  
  <p>I tried</p>
  
  <pre><code>$url = "http://" . $_SERVER['HTTP_HOST']  . "/p.php" . "\"&gt;";
  echo "&lt;meta http-equiv=\"refresh\" content=\"0;url="; echo $url;
  </code></pre>
  
  <p>But that redirects me to: p.php without any domain, same result using <code>$_SERVER['SERVER_NAME']</code></p>
  
  <p>Not sure what I'm doing wrong ?</p>