You are here: Re: Problem using FPDF « PHP Programming Language « IT news, forums, messages
Re: Problem using FPDF

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация