Redirect not working properly
<p>Its a very silly problem but somehow it is not working
I have a function to create a file, if it goes through with it i want it to redirect the user to X page.. in this case 1.php.... but somehow is not working :S why?</p>

<pre><code>    //Creates File, populates it and redirects the user.
if (createfile($dbFile)) { 
    header('Location: 1.php');
        }
</code></pre>
