title: I have a url stored in a variable, how do I open the link in that variable in PHP?
body: <pre><code>$_SESSION['link'] = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
  </code></pre>
  
  <p>This code gets the link I am currently on and stores it. How do you open that link? The following line doesn't open it.</p>
  
  <pre><code>header("Location: $_SESSION['link']");
  </code></pre>