Set the content-type appropriately.
header("Content-type: application/pdf");
header("Content-type: image/jpeg");
header("Content-type: application/msword");
These are standards that should work with any Web browser.
See the Apache mime.types file for an extensive list of examples.