Re: Header function
| From: | Kim Madsen | Date: | Mon, 01 Mar 2010 11:14:17 +0000 |
| Subject: | Re: Header function | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-302434@lists.php.net to get a copy of this message | ||
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