Reply to Re: problem displaying pdfs from mysql

Your name:

Reply:


Posted by Rik on 05/08/06 00:23

Chuck Anderson wrote:
> And I've found that you need to use:
> header('Content-Disposition: inline; filename="somename.pdf"');
> ... to display it in the browser
>
> To create a download, save as dialog use:
> header('Content-Disposition: attachment; filename="somename.pdf"');

As I said, some people do know what they're talking about :-)

Grtz,
--
Rik Wasmus

[Back to original 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

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