RE: [PHP] File download question

2009-09-06 Thread Andrea Giammarchi
bject: Re: [PHP] File download question > > I think that your problem in this line: > > header("Content-Disposition: filename=$file" . "%20"); > > I don't know what that %20 is for and you should quote the filename, > that line should be some

Re: [PHP] File download question

2009-09-06 Thread Jonathan Tapicer
I think that your problem in this line: header("Content-Disposition: filename=$file" . "%20"); I don't know what that %20 is for and you should quote the filename, that line should be something like this: header("Content-Disposition: attachment; filename=\"$file\""); Considering that $filenam