How do you keep a PHP link in the header while it loads another page?
<p>If you go here: hxxp://getriotpointscodes.com and look at the PHP coded link on the right hand side (hxxp://getriotpointscodes.com/index.php?id=35863). </p>

<p>How do you mimic the behavior where you copy the link into the browser while it loads another page while keeping the original clicked link(hxxp://getriotpointscodes.com/index.php?id=35863) as the header?</p>

<p>This page is already exhibiting this behavior, but I wasn't sure how to exactly code it for my own use.</p>

<p>I had something like this, but it's probably wrong:</p>

<pre><code>&lt;?php
// referral.php

$id = (isset($_GET["id"])) ? strval($_GET["id"]) : "1";
// lookup
$url[1] = 'hxxp://getriotpointscodes.com/index.php?id=23121';

header('Content-Type: text/plain');
include("index.php");
?&gt;
</code></pre>
