Warning: Cannot modify header information (PHP)
<p>I have the following error:</p>

<p>Warning: Cannot modify header information - headers already sent by (output started at /home/sn2010/public_html/pagetwo.php:10) in /home/sn2010/public_html/pagetwo.php on line 15</p>

<p>It happens when I go to pagetwo.php...
You can try it here:
<a href="http://sn2010.x10.mx/" rel="nofollow">http://sn2010.x10.mx/</a></p>

<p>I'm not sure exactly why it's giving me that problem, but here's my codes on both pages:</p>

<p>index.html</p>

<pre><code>  &lt;form name="form1" action="pagetwo.php" method="POST"&gt;
    &lt;input type="submit" name="bootoon" value="index"&gt;
  &lt;/form&gt;

  &lt;form name="form2" action="pagetwo.php" method="POST"&gt;
    &lt;input type="submit" name="bootoon" value="http://www.facebook.com"&gt;
  &lt;/form&gt;

  &lt;form name="form3" action="pagetwo.php" method="POST"&gt;
    &lt;input type="submit" name="bootoon" value="http://www.yoyogames.com"&gt;
  &lt;form/&gt;
</code></pre>

<p>pagetwo.php</p>

<pre><code>&lt;?php
  echo "&lt;h2&gt;SN2010&lt;br /&gt;&lt;/h2&gt;";
  echo "&lt;hr align='left' width='680px' /&gt;&lt;br /&gt;&lt;br /&gt;";

  $redirect = "Location: " . $_REQUEST["bootoon"] . ".php";
  echo header($redirect);
?&gt;
</code></pre>

<p>Anyone know why the webpages are creating this error? I've tried using ob_start(); and ob_end_flush();. So those two codes are out of the picture...</p>
