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 anno
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 th
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 acces
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:
> >
> > http://address.com/scri
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.
Wh
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 s
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:
>
> http://richardlynch.blogspot.com/20
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
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( "Cont
9 matches
Mail list logo