title: How to redirect an URL to a parent iframe
body: <p>Im trying to redirect an user of my page when I ban him from my chat box using this (php):</p>
  
  <pre><code>header("location: index.php");
  exit;
  </code></pre>
  
  <p>The problem is the <strong>index.php</strong> page is opening inside the connected users section, in this case inside a <code>div</code>. How can i redirect the user's main page ?</p>
  
  <p>Thanks for your time.</p>