title: Redirecting the page to another html script and execute php script in background
body: <p>i have a requirement in which user need to upload a file and click on submit after uploading the page. after clicking on submit a php script runs in the background. what i want is that the page should be redirected to another PHP page while script.php script should execute in the background.</p>
  
  <pre><code>&lt;form action=script.php method='POST'&gt; 
  </code></pre>
  
  <p>what i want is that the script.php script should still run and the page should be redirected to some result.html page.. Any idea?</p>