Re: Header function

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

 



Ashley Sheridan wrote on 01/03/2010 07:13:

The HTTP header doesn't treat quoteation marks in the same way that PHP
does. It needs double quote marks to function correctly.

How do you mean? And do you have a link to this information?

Even if this is true, then the first Nick did should still be correct?

header('Content-Disposition: attachment; filename="PurchaseReq.doc"');

I'm using the same headers for downloads, allthough I use double qoutes for the header function aswell:

header("Content-Disposition: attachment; filename=\"artist - title.mp3\"");

--
Kind regards
Kim Emax - masterminds.dk

--
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