Re: weird problems with file uploads

From: Date: Fri, 11 May 2001 13:37:05 +0000
Subject: Re: weird problems with file uploads
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-52461@lists.php.net to get a copy of this message
> I'm trying to implement a file upload on a website so people can send us > files of their work and I'm having a fantastic success with text files. > The problem comes when I try to upload binary files such as zip or mp3, > when I get the typical file attack error mesage from the script, in > other words, the is_uploaded_file() function does not recognise the file > correctly. I do have the same problem on my WinNT box. I'm using php to store the file in a LargeBlob field in my mysql database. Text files upload successfully but binary files don't ( the Insert query fails ). If someone knows something let us know. Bye, -- Nick Mpeglitis. The first thing we do, let's kill all the lawyers. -- Wm. Shakespeare, "Henry VI", Part IV

« previous php.general (#52461) next »