Re: Files upload - Encrypt into a variable - Do not injectinto db (PHP/Apache/MySQL)
| From: | Marek Kilimajer | Date: | Tue, 22 Mar 2005 02:30:46 +0000 |
| Subject: | Re: Files upload - Encrypt into a variable - Do not injectinto db (PHP/Apache/MySQL) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-211251@lists.php.net to get a copy of this message | ||
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.