Posted By

Zwendel on 10/23/09


show inline file open dialog

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Display file in browser or show open/save dialog first

 / Published in: PHP

  1. /*Display file in brower*/
  2. header('Content-Disposition: inline;');
  4. /*Show the open/save/cancel dialog*/
  5. header('Content-Disposition: attachment;');

Report this snippet  

You need to login to post a comment.