Re: Addslashes limit

From: Date: Wed, 17 Dec 2003 15:00:14 +0000
Subject: Re: Addslashes limit
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-172892@lists.php.net to get a copy of this message
From: "Cesar Cordovez" <phpguru@cesamo.com> > Is it just me or addslahes truncates the result to 65535 chars? Any > comments? Or can it be that a blob field in a MySQL database is just > 65535 chars, I don't think so... Think again... BLOB, TEXT L+2 bytes, where L < 2^16 MEDIUMBLOB, MEDIUMTEXT L+3 bytes, where L < 2^24 LONGBLOB, LONGTEXT L+4 bytes, where L < 2^32 ---John Holmes...

« previous php.general (#172892) next »