In that case, I don't think I understand what you're asking.

Are you saying that the file stored on the server's filesystem after a 
multipart/form-data POSTing has the MIME type added to its content? 
Because our servers handle thousands of such transactions daily and it's 
certainly not happening here.

If you're saying that you're running an obsolete version of PHP, well, 
updating should be a prerequisite to posting with problems.


On Mon, 25 Mar 2002, David McInnis wrote:

> 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:[EMAIL PROTECTED]] 
> Sent: Monday, March 25, 2002 3:47 PM
> To: David McInnis
> 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 (
To unsubscribe, visit:

Reply via email to