Q:

PHP Redirect Issues

At the moment, I have form in my index.html file:
<div id="submit">
    <form action="upload.php" method="post" enctype="multipart/form-data">
    Select your file: <input type="file" name="file"><br><br>
    <input type="submit" value="Upload">
    </form>
</div><!--end submit-->

It runs the code I have in the upload.php file however, I would like the page to return to the index.html file. 
How do I accomplish this? 

A:

After you're done processing the form in upload.php, include the code:
header('Location: index.html');
exit;

This will only work if upload.php isn't actually outputting anything (including whitespace).