title: Missing HTTP Referrer info on IE/FF (works well on Chrome/Safari)
body: <p>I have <code>page1.php</code> with this code:</p>
  
  <pre><code>&lt;form action="/redirect.php" method="POST" target="_blank"&gt;
  &lt;input name="destination" type="hidden" value="a"/&gt;
  &lt;input type="submit" value="Click here"&gt;&lt;/form&gt;
  </code></pre>
  
  <p>and this is <code>redirect.php</code>:</p>
  
  <pre><code>&lt;?php
  
  $url = "http://www.default.com"; 
  
  if(isset($_POST['destination'])){
  
      switch ($_POST['destination']) {
  
      case "a":
          $url = "http://www.domain1.com";
          break;
  
      case "b":
          $url = "http://www.domain2.com";
          break;
  
      default:
          $url = "http://www.default.com";
      }
  }
  
  header( "refresh:1;url=$url" );
  
  ?&gt;  
  &lt;!doctype html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div&gt;Redirecting, Please wait&lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I've created the redirect page this way because it's important for me that it would load and display certain content, rather than redirect straight away (and thus, it yields out a 200 code, rather than a 302 code).</p>
  
  <p>However, only on Chrome and Safari, the Headers of the redirect contain information about the referring url, which is <code>redirect.php</code>, and thus, for example, the owner of <code>domain1.com</code> will know that the visitor came from <code>mydomain.com/redirect.php</code>.</p>
  
  <p>But on IE and FF, the referrer in the headers is null. What is causing this different behavior and how can I fix it to have them carry the same referrer info as well?</p>