|
Help using HTTP_Download: msg#00392php.pear.general
I need some help on how to use the HTTP_Download class. The following code is in a file download.php. The download question looks like this: Open 'http://www.domain.com/download.php' (attachment)? [Open] - gets the correnct data. [Save as] - gets an error box. Already saving URL http://www.domain.com/download.php // code from download.php $dnld = "String with data to download"; $params = array(); $params['data'] = $dnld; $params['contenttype'] = "Content-Type: text/tab-separated-values; charset=ISO-8859-1"; $params['contentdisposition'] = "Content-Disposition: attachment; filename=contacts.tsv"; $http_dnld = new HTTP_Download($params); $http_dnld->send(); -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: dublicate handles in LiveUser: 00392, Markus Wolff |
|---|---|
| Next by Date: | go-pear.bat php5.0.0b2 cli.php problem: 00392, Kevin |
| Previous by Thread: | oci8 dsni: 00392, |
| Next by Thread: | Re: Help using HTTP_Download: 00392, Michael Wallner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |