Re: [PHP] Streaming download to IE doesn't work

2007-06-02 Thread Steve
That's why you comment your code. Take the extra time and put a bit of effort into explaining yourself. Add in a paragraph explaining what's going on, link to whatever solution you found on the web (who knows it might still exist), and just outright bloat it with comments. You might find it

Re: [PHP] Streaming download to IE doesn't work

2007-05-31 Thread Richard Lynch
On Wed, May 30, 2007 9:16 pm, Daniel Kasak wrote: On Wed, 2007-05-30 at 13:40 -0500, Richard Lynch wrote: On Tue, May 29, 2007 6:37 pm, Daniel Kasak wrote: Actually, that blog had absolutely nothing to do with my problem ( thanks for RTFP!). Not only that, but the recommendation that I

Re: [PHP] Streaming download to IE doesn't work

2007-05-30 Thread Richard Lynch
On Mon, May 28, 2007 10:30 pm, Daniel Kasak wrote: Hi all. I'm streaming a file ( location of which is to be hidden from clients, hence the need to stream ). Basically I'm doing: Actually, you're forcing a download, rather than streaming it... session_start(); // some authentication stuff

Re: [PHP] Streaming download to IE doesn't work

2007-05-30 Thread Richard Lynch
On Tue, May 29, 2007 6:37 pm, Daniel Kasak wrote: Actually, that blog had absolutely nothing to do with my problem ( thanks for RTFP!). Not only that, but the recommendation that I construct URLs: http://address.com/script/thing=2/this=3/that=4/download.txt is patently ridiculous. Why?

Re: [PHP] Streaming download to IE doesn't work

2007-05-30 Thread Daniel Kasak
On Wed, 2007-05-30 at 13:40 -0500, Richard Lynch wrote: On Tue, May 29, 2007 6:37 pm, Daniel Kasak wrote: Actually, that blog had absolutely nothing to do with my problem ( thanks for RTFP!). Not only that, but the recommendation that I construct URLs:

Re: [PHP] Streaming download to IE doesn't work

2007-05-30 Thread Daniel Kasak
Sorry ... forgot to comment on this ... On Wed, 2007-05-30 at 13:40 -0500, Richard Lynch wrote: ... in particular, adding: header(Cache-control: private); header(Pragma: public); fixed things perfectly. Also note that things worked perfectly with normal http access from the start;

Re: [PHP] Streaming download to IE doesn't work

2007-05-29 Thread Jochem Maas
Daniel Kasak wrote: Hi all. Who knows WTF is wrong and how I can work around it? without getting into the holywar of download headers, here is one mans's take/solution: http://richardlynch.blogspot.com/2006_06_01_archive.html it should contain enough to help you out. PS. you might

Re: [PHP] Streaming download to IE doesn't work

2007-05-29 Thread Daniel Kasak
On Tue, 2007-05-29 at 13:52 +0200, Jochem Maas wrote: Daniel Kasak wrote: Hi all. Who knows WTF is wrong and how I can work around it? without getting into the holywar of download headers, here is one mans's take/solution:

[PHP] Streaming download to IE doesn't work

2007-05-28 Thread Daniel Kasak
Hi all. I'm streaming a file ( location of which is to be hidden from clients, hence the need to stream ). Basically I'm doing: --- session_start(); // some authentication stuff and figuring out the path goes here // ... // ... $source = /accounts_reports/ . $_GET['id'] . .bin; header(