|
Posted by Steve on 11/07/07 16:39
"Tompkins" <cappieins@t-online.de> wrote in message
news:1194447820.498426.198680@d55g2000hsg.googlegroups.com...
> Hi,
>
> i'm using fpdf version 1.53, but passing an "I" for "inline" as
> destination, because I want the browser to open the pdf directly using
> the browser plugin. If I use "D", there appears a dialog asking me to
> save or to open the file. But thst's not what I want to have...
>
> The header is set corectly for "D" as you wrote, and for "I" it is
>
> header('Content-disposition: attachment; filename="'.$name.'"');
>
> Any further idea?
well, for starters, don't switch thoughts mid-stream!
"but if I want to save it to my local disk, there is not automatically the
filename used I passed"
and then:
"because I want the browser to open the pdf directly using the browser
plugin."
stick with telling us EXACTLY what you are having problems with, and maybe
we can help you.
[Back to original message]
|