RE: [PEAR] Re: HTTP_download : open file in browser, not download
| From: | Vincent DUPONT | Date: | Tue, 01 Jun 2004 11:00:03 +0000 |
| Subject: | RE: [PEAR] Re: HTTP_download : open file in browser, not download | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-12813@lists.php.net to get a copy of this message | ||
Waow,
i replaced the POST by a GEt, and this solved my problem.
Thank you very much for this powefull and quick support!!
Vincent
-----Original Message-----
From: Michael Wallner [mailto:mike@php.net]
Sent: mardi 1 juin 2004 12:40
To: pear-general@lists.php.net
Subject: Re: [PEAR] Re: HTTP_download : open file in browser, not
download
I wrote:
> <EMBED src=http://localhost:8080/tests/dl-pdf.php
> width="100%"
height="100%" type=application/pdf fullscreen="yes">
>
> I captured this with typing
"javascript:void(alert(document.body.innerHTML));"
> into the address field. This *cannot* work because we/you check for
the
> presence of some $_POST variable. While this is not really true (I
cannot
> really describe IE's odd behaviour here...) here comes the hack:
Hm, ok - Mozilla does the same (embed), however, the hack seems to
convince IE.
Regards,
--
Michael - < mike(@)php.net >