PHP dynamic file downloads

Created 03 April 2003 00:00
The following forces the user's browser to open a save dialog for the file:
  header("Content-type: application/pdf");
  header("Content-Disposition: inline; filename=downloaded.pdf");