Re: [PHP] Header function

[email protected] (Kim Madsen)
Newsgroups php.general
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.