why did it stop working?
| From: | Ross | Date: | Thu, 08 Mar 2007 09:57:19 +0000 |
| Subject: | why did it stop working? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-250061@lists.php.net to get a copy of this message | ||
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?