try two header, if one doesn't work try another
<p>How can i send two header with php? if one doesn't work try another...</p>

<p>what i've tried:</p>

<pre><code>    $headers = array("Location:" . $VIDEO . $dop, "X-Accel-Redirect: /".$_GET["filename"].$dop);

    foreach($headers as $value) {
            if (!headers_sent()) {
                    ob_start(); // start output buffering
                    header("Content-type: video/x-flv");
                    header($value);
                    ob_flush(); //flush the buffer

            }
    }
</code></pre>

<p>but no matter what the order, it's always uses "X-Accel-Redirect: /".$_GET["filename"].$dop"</p>
