Re: [PHP] Files upload - Encrypt into a variable - Do not injectinto db (PHP/Apache/MySQL)
Posted by Marek Kilimajer on 09/28/46 11:11
Steven Altsman wrote:
> Got packet bigger than 'max_allowed_packet'
>
> ... Gotta love mysql_error();
>
> If I find out what causes this, I'll bring it over to this list too.. since
> it's been pretty quiet, I guess I've gotten folks stumped.
>
I think you can put the encrypted file to the database in chunks. Split
the file up and append it to the column in a loop.