Re: Help using HTTP_Download
| From: | Craig H. Anderson | Date: | Mon, 24 Nov 2003 19:45:00 +0000 |
| Subject: | Re: Help using HTTP_Download | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-9112@lists.php.net to get a copy of this message | ||
I get the same results. When I tried with IE I got a download as expected.
The error is occurring with konqueror 3.1.3. With all the browsers I've
tried,
the file can be opened into a text editor.
Thanks.
Michael Wallner wrote:
>
> Use:
> $params['contentdisposition'] = array(
> HTTP_DOWNLOAD_ATTACHMENT,
> 'your_file_name'
> );
>
>> $http_dnld = new HTTP_Download($params);
>> $http_dnld->send();
>
> HTH,
--
Craig H. Anderson