RE: [PHP] Files upload - Encrypt into a variable - Do not injectinto db (PHP/Apache/MySQL)
| From: | Richard Lynch | Date: | Tue, 22 Mar 2005 01:29:20 +0000 |
| Subject: | RE: [PHP] Files upload - Encrypt into a variable - Do not injectinto db (PHP/Apache/MySQL) | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-211241@lists.php.net to get a copy of this message | ||
On Fri, March 18, 2005 12:00 pm, Steven Altsman said:
> 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.
If that's a MySQL error, you're gonna be WAY better off asking on the
MySQL mailing lists...
At a guess, you're either trying to send a query that's WAAAAY too long,
or get back waaay too much data, or your database server and internet
server aren't doing TCP/IP packets nicely, or...
It could mean a whole lot of things, actually.
Google for the error message, and 'max_allowed_packet' and see what turns up.
--
Like Music?
http://l-i-e.com/artists.htm