I'm bin2hex'ing images from an upload script and inserting into a mysql
blob field. The php script that re-packs the hex data back to binary,
does the createimagefromstring() and streams the image to the browser is
generating a corrupted image... i.e. The image looks fine until part-way
On Wed, June 29, 2005 3:30 pm, Shane Little said:
I'm bin2hex'ing images from an upload script and inserting into a mysql
blob field. The php script that re-packs the hex data back to binary,
does the createimagefromstring() and streams the image to the browser is
generating a corrupted
Richard Lynch wrote:
On Wed, June 29, 2005 3:30 pm, Shane Little said:
I'm bin2hex'ing images from an upload script and inserting into a mysql
blob field. The php script that re-packs the hex data back to binary,
does the createimagefromstring() and streams the image to the browser is
Kristen G. Thorson wrote:
MySQL blobs are actually limited to 64K. I think a MEDIUMBLOB holds
about 16 MB if you're dead-set on storing the image in the database.
You might want to check that your max_allowed_packets size is large
enough. You can find that by querying
SHOW VARIABLES LIKE
4 matches
Mail list logo