View Single Post
Old 01-26-2007, 02:11 AM  
mlove
the guy
 
mlove's Avatar
 
Industry Role:
Join Date: Apr 2005
Posts: 764
Quote:
Originally Posted by woj View Post
come on, that can't be correct... $filename won't work if it's inside single quotes...

you need this:
header("Content-Disposition: attachment; filename=\"$filename\"");
ahh yeah, forgot about that.
__________________
If you won't feel as good, I won't feel as cheap.
mlove is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote