Re: Content_Type is included in uploaded file!

From: Date: Tue, 01 May 2001 12:49:02 +0000
Subject: Re: Content_Type is included in uploaded file!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-50965@lists.php.net to get a copy of this message
On Sat, Apr 28, 2001 at 05:58:45PM -0500, Siamak Amirghodsi wrote: > When I upload a file with php 4 and apache using the > call move_upload_file(-----,-----); > > the file gets uploaded, but the file ( which is just a text file ) at > the server side contains > some extra lines at the top : > Content-Type: text/plain > blankline > blankline > > Does anybody know how to suppress this? > This also happens with images! Sorry if this is wrong info Rasmus, but I was told this is a bug in some version(s) of apache. Someone I know ran into this probelem and said he found it was a bug, so he upgraded apache, reinstalled php and everything works fine. -- Jason Stechschulte jpstech@unoh.edu -- Almost nothing in Perl serves a single purpose. -- Larry Wall in <199712040054.QAA13811@wall.org>

« previous php.general (#50965) next »