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
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
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
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?
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:
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;
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
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:
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(
9 matches
Mail list logo