|
Posted by Chuck Anderson on 05/07/06 23:54
Rik wrote:
>monomaniac21 wrote:
>
>
>>header("Content-type: application/pdf");
>>
>>
>
>add:
>header('Content-Disposition: attachment; filename="somename.pdf"');
>
>should work, BTW directy from
>http://nl3.php.net/manual/en/function.header.php
>
>Grtz,
>
>
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"');
--
*****************************
Chuck Anderson • Boulder, CO
http://www.CycleTourist.com
The world is my country,
Science, my religion
*****************************
[Back to original message]
|