Re: Re: File Download Headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Chris Shiflett schrieb:
Barry wrote:
You can send every header twice, triple. a zillion
times if you want.

Sure, but you have to know how to use header():

http://php.net/header

"By default it will replace, but if you pass in FALSE as the second argument you can force multiple headers of the same type."

Regardless, I think Content-Disposition is the header you need, not Content-Type.

Yes. My fault, forgot the false. Sorry for that ;)

Barry

--
Smileys rule (cX.x)C --o(^_^o)
Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux