how to redirect current page to other page
<p>I want to redirect current page to other page
i use this code but its not working</p>

<pre><code>if($abc=="doc" || $abc=="docx" || $abc=="rtf")
        {
            header("Location: abc.php");
           }
</code></pre>

<p>AND</p>

<pre><code>if($abc=="doc" || $abc=="docx" || $abc=="rtf")
    {
        echo "&lt;meta http-equiv='refresh' content='0;url=abc.php'&gt;";

    }
</code></pre>
