Quote:
Originally Posted by mlove
according to php.net/header the correct syntax is
PHP Code:
header('Content-Disposition: attachment; filename="$filename"');
|
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\"");