Re: why did it stop working?
| From: | Tijnema ! | Date: | Thu, 08 Mar 2007 15:29:07 +0000 |
| Subject: | Re: why did it stop working? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-250073@lists.php.net to get a copy of this message | ||
On 3/8/07, Ross <ross@aztechost.com> wrote:
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 upgraded maybe? Tijnema --
PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php