Re: [PHP4BETA] Image File Upload Into MySQL BLOB
| From: | Mohammad A. Haque | Date: | Thu, 16 Dec 1999 20:21:08 +0000 |
| Subject: | Re: [PHP4BETA] Image File Upload Into MySQL BLOB | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-8014@lists.php.net to get a copy of this message | ||
I started messing around with file storage just for kicks (ended up with
screenshots site below). I'm not having any problems here.
Apache/1.3.9 (Unix) PHP/4.0b3-RC5
mysqladmin Ver 7.12 Distrib 3.23.5-alpha, for pc-linux-gnu on i686
--
=============================================
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