title: PHP Client browser download
body: <p>I gave exact file path for PDF,  PDF also downloading without any interrupt. but when remove the exit after the  " exit ". PDF does not download not happening. i am doing some process after exit function.</p>
  
  <pre><code>header('Content-Description: File Transfer');
  header('Content-type: application/pdf');
  header('Content-Disposition: attachment; filename='.$pdf_filename);
  header('Content-Transfer-Encoding: binary');
  header('Expires: 0');
  header('Cache-Control: must-revalidate');
  header('Pragma: public');
  header('Content-Length: ' . filesize($file));
  ob_clean();
  readfile($file);
  session_regenerate_id();
  exit;
  </code></pre>