Page 1 of 1

open file without download

Posted: Mon Feb 26, 2007 12:32 am
by vidyadoiphode
hello,
I want to open pdf file in browser without open/save dialog box.
is it possible?

Actually, when user submit form, all form content opens in pdf. but it first shows open/save dialog box.
i want to open it directly.

Thanks.

Posted: Mon Feb 26, 2007 1:02 am
by Christopher
I believe that is a browser setting and you can't control how browsers are setup to handle different MIME types. But perhaps I am misunderstanding your question.

Posted: Mon Feb 26, 2007 1:43 pm
by RobertGonzalez
I know there is a way to do it. What you are asking is if it is possible to generate a PDF file that, when the page makes it, it loads in the browser rather than prompting to download or save. Is that correct?

Keep in mind that some browsers can have their setting overwritten so that file never open in the browser and they are always prompted for a download/save.

Posted: Mon Feb 26, 2007 1:49 pm
by feyd
This is a programming question. Moved to PHP - Code until further notice.

Posted: Mon Feb 26, 2007 1:51 pm
by pickle
How are you delivering the PDF? Are you sure all the appropriate headers are being sent?