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