Image File Upload Into MySQL BLOB
| From: | Darrell Brogdon | Date: | Thu, 16 Dec 1999 19:46:20 +0000 |
| Subject: | Image File Upload Into MySQL BLOB | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-8012@lists.php.net to get a copy of this message | ||
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