Re: Re: HTTP_download : open file in browser, not download
| From: | Michael Wallner | Date: | Tue, 01 Jun 2004 10:40:03 +0000 |
| Subject: | Re: Re: HTTP_download : open file in browser, not download | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-12812@lists.php.net to get a copy of this message | ||
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 >
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc