Hi!

Andreas Magnusson wrote:
> For a normal file (not through PHP) the headers are:
>
> Accept-Ranges: bytes
> Connection: Close
> Content-Length: 25600
> Content-Type: application/msword
> Date: Tue, 23 Dec 2003 09:51:19 GMT
> ETag: "08f72d578c3c31:8d0"
> Last-Modified: Tue, 16 Dec 2003 02:03:44 GMT
> Server: Microsoft-IIS/5.0
>
> And through PHP (my script) it is:
>
> Accept-Ranges: bytes
> Cache-Control: private
> Connection: Close
> Content-Disposition: inline; filename="testdoc.doc"
> Content-Length: 25600
> Content-Type: application/msword; name="testdoc.doc"

is this defined? I have never seen/used this.

I only use: "Content-Type: application/msword"

> Date: Tue, 23 Dec 2003 10:03:35 GMT
> Expires: 0
> Pragma: public
> Server: Microsoft-IIS/5.0
> X-Powered-By: PHP/4.2.2
>
> It seems whatever I try to set the headers I have control over, it
> doesn't work...
> Is there anyway one can stop PHP from sending the Pragma at all?

You could look at
http://de3.php.net/session_cache_limiter
http://de3.php.net/manual/en/ref.session.php#ini.session.cache-limiter

Perhaps you should try "none"? I use "private". But at the moment I don't
know exactly which headers are effected here, you should try out.

You can find more comments about this topic here: http://de3.php.net/header


Kind regards,
Andreas

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to