Can someone explain to me why this used to work but then stopped

header("Content-length: $size");
header("Content-type: $type");
header("Content-Disposition: attachment; filename=$name");

and this now works

header("Content-length: ".$size);
header("Content-type: ".$type);
header('Content-Disposition: attachment; filename="'.$name.'"');
echo $content;


Any suggestions? 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to