Storing large file in longblob field

From: Date: Thu, 07 Oct 2004 10:11:31 +0000
Subject: Storing large file in longblob field
Groups: php.db 
Request: Send a blank email to php-db+get-36666@lists.php.net to get a copy of this message
Hi I need to store two large files, about 4MB each file in a table. The files are already in the server, no need to upload them. The problem is the max_allowed_packet limit (1MB) and I can't change this. It's a shared host. I've tried to read 512KB chunks and update the table wih CONCAT function but the field doesn't get updated. Thanks in advance Greetings pt2002

« previous php.db (#36666) next »