How to properly use ignore_user_abort()
<p>I have a script that reads large csv files from the server. As you can see before I initialize the upload I use <code>ignore_user_abort(true)</code> . Should I be worried about closing this after the upload has finished ? Am I using this properly ? Is there a better way to go about this issue ?</p>

<pre><code>if (isset($_POST['submit'])) {

try {
    $filePath = $_POST['filepath'];
    $electionType = $_POST['electionType'];
    $year = $_POST['year'];
    $updateMethod = $_POST['updateMethod'];
    ignore_user_abort(true);
    $upload = new UploadController($filePath,$year,$electionType,$updateMethod );
}
catch (Exception $e) {
    echo 'The fields arent setup properly &lt;br&gt;';
    echo $e-&gt;getMessage();
    exit;
}

}
</code></pre>