Issues with guessContentType and setData with HTTP_Download
| From: | Dan Rossi | Date: | Thu, 16 Jun 2005 05:49:28 +0000 |
| Subject: | Issues with guessContentType and setData with HTTP_Download | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-19646@lists.php.net to get a copy of this message | ||
Hi there, I've found an issue with guessContentType using setData with HTTP_Download. The issue has arisen using MIME_Type, as it expects a real file, however with setData I am sending raw binary data and giving the filename to download in setContentDisposition. I am getting a cant find file pear error. Any ideas ? setContentType isnt possible as its more than one filetype i am sending :\