Re: note 11409 added to Handling file uploads

From: Date: Tue, 20 Feb 2001 04:19:29 +0000
Subject: Re: note 11409 added to Handling file uploads
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-11279@lists.php.net to get a copy of this message
cvs.php.net Your note will be edited --- rodrei@yahoo.com wrote: > PHP 4.0.4 f1 > I am having problems uploading JPG, GIF and PGN. I > also tried to load the binary data into a mysql > table but unfortunatly it has not worked so far. > The variables that are automatically created when > uploading a $file have all worked properly exept the > $file_type or $HTTP_POST_FILES['file']['type']. > > Please note that this script works fine on the PHP > 3.X implementation. > > Like, robicd@gmx.net, I notice that PHP is adding > "image/gif" or "image/jpg" at the beginning of the > binary data in mysql table as well as in the head of > uploaded files. > > lyric@php.net responds robicd@gmx.net by saying that > it was a bug and the fix is available. How can I get > a hold of this fix? > > > http://www.php.net/manual/en/features.file-upload.php > > > > -- > PHP Notes Mailing List (http://www.php.net/) > To unsubscribe, e-mail: > php-notes-unsubscribe@lists.php.net > For additional commands, e-mail: > php-notes-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net > ===== --- Jesus M. Castagnetto <jmcastagnetto@php.net> __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/

« previous php.notes (#11279) next »