|
Re: Help using HTTP_Download: msg#00409php.pear.general
Hi Craig H. Anderson, you wrote: > I need some help on how to use the HTTP_Download class. > $params['contenttype'] = "Content-Type: text/tab-separated-values; > charset=ISO-8859-1"; Strip "Content-Type: " from this, though I'll have to look for if the PCRE is allowing "; charset=..." > $params['contentdisposition'] = "Content-Disposition: attachment; > filename=contacts.tsv"; Use: $params['contentdisposition'] = array( HTTP_DOWNLOAD_ATTACHMENT, 'your_file_name' ); > $http_dnld = new HTTP_Download($params); > $http_dnld->send(); HTH, -- Michael - < mike(@)php.net >
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Error - Downloading Auth-1.2.2: 00409, Cipriano Groenendal |
|---|---|
| Next by Date: | Re: Help using HTTP_Download: 00409, Craig H. Anderson |
| Previous by Thread: | Help using HTTP_Downloadi: 00409, Craig H. Anderson |
| Next by Thread: | Re: Help using HTTP_Download: 00409, Craig H. Anderson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |