RE: [PHP] Mime type prepeded at file upload
| From: | David McInnis | Date: | Tue, 26 Mar 2002 00:05:11 +0000 |
| Subject: | RE: [PHP] Mime type prepeded at file upload | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-90119@lists.php.net to get a copy of this message | ||
I have no such statements in my code. This is looking like a known
issue in PHP. I gather that is taken care of in later releases.
David McInnis
-----Original Message-----
From: Miguel Cruz [mailto:mnc@stoic.net]
Sent: Monday, March 25, 2002 3:47 PM
To: David McInnis
Cc: php-general@lists.php.net
Subject: Re: [PHP] Mime type prepeded at file upload
On Mon, 25 Mar 2002, David McInnis wrote:
> When I save a file that has been uploaded through PHP it prepends
(adds
> to the beginning of the file) the mime type. This renders the file
> unusable when it is downloaded as MS Word cannot open the file and
tries
> to install some kind of converter.
My recommendation would be to take out the statements you added to your
PHP program that prepend the MIME type.
miguel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php