Re: [PHP4BETA] Image File Upload Into MySQL BLOB

From: Date: Thu, 16 Dec 1999 20:22:31 +0000
Subject: Re: [PHP4BETA] Image File Upload Into MySQL BLOB
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-8015@lists.php.net to get a copy of this message
Actually, I just realized I am dong one thing different. I'm using longblob. -- ============================================= http://www.haque.net/ Post your screenshots: http://www.haque.net/screenshots/ mhaque@haque.net ============================================= > Darrell Brogdon wrote: > > I have a script that pretty much follows any documentation I can find on using File Upload to send an image to the server and save it as a BLOB (MEDIUMBLOB to be exact) in my MySQL database. The upload seems to go fine but when I retrieve it from the database I find that the filesize is about 10 bytes less than the original file. > > Has anybody else experienced this phenomenon? I'm using PHP4.0b3, MySQL v3.22.26a, and Apache 1.3.9 > > Darrell Brogdon > ConsumerForce > http://www.consumerforce.com

« previous php.version4 (#8015) next »