"John W. Holmes" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> Andreas Magnusson wrote:
>
> > And through PHP (my script) it is:
> >
> > Accept-Ranges: bytes
> > Cache-Control: private
>
> I've had the cache-control header cause problems with IE in the past.
> It's sent by starti
Andreas Magnusson wrote:
And through PHP (my script) it is:
Accept-Ranges: bytes
Cache-Control: private
I've had the cache-control header cause problems with IE in the past.
It's sent by starting a session, not something you manually send. You
can change it using the session functions, though.
In hopes that this may be of help to you...I had a hell of a time getting IE
to download pdfs that I create on the fly and finally with the help of a
couple people I got the magic code which was...
$len = strlen($buf); //buf was holding the pdf doc.
header("Pragma: public");
header("Expires: 0")
Did you try session_cache_limiter('private_no_expire')?
Andreas Magnusson wrote:
Thanks for your reply!
Have a look at: http://pear.php.net/package/HTTP_Download
I looked at it and it's hard to see what it does differently from what I
do...
And the first comment of:
http://www.php.net/manual
4 matches
Mail list logo