Re: Stahovani pdf misto otevirani v okne

From: krutohlav (krutohlav@host.sk)
Date: 22. 03. 2002, 01:06 CET


Nazdar,
Thursday, March 21, 2002, si napisal:

>> Dle konference PHP by skriptik mohl vypadat takto (osobne
>> jsem to nezkousel):
>> <?
>> Header("Expires: ".GMDate("D,d M Y H:i:s")." GMT");
>> Header("Pragma: no-cache");
>> Header("Cache-Control: no-cache");
>> Header("Content-Type: binarydata");
>> Header('Content-Disposition: inline; filename="'.$jmeno.'"');
>> ?>
>> S pozdravem, Wog

> no myslenka je to krasna, ale nechodi mi to :(

No jasne ze nie, za tymito hlavickami zabudol autor napisat tu
najdolezitejsiu:
Header("Location: $url_k_pdf_suboru");
Podla standardu by to URL malo byt absolutne, ale zatial som sa
nestretol s problemom ani pri relativnom URL.


--
S pozdravom,
 krutohlav                            



This archive was generated by hypermail 2.1.2 : 22. 03. 2002, 01:08 CET