This was a problem with the version of PHP that I had installed. PHP-4.0.4pl1. Apparently there is a bug that causes this to be written to the front of the file.
Solution? Upgrade. David McInnis -----Original Message----- From: David McInnis [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 11:36 AM To: [EMAIL PROTECTED] Subject: [PHP] Mime type prepeded at file upload 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. Any ideas for me? David McInnis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php