[PHP] Addslashes limit

2003-12-17 Thread Cesar Cordovez
HI! 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... Cesar. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Addslashes limit

2003-12-17 Thread Marek Kilimajer
Cesar Cordovez wrote: HI! 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... Cesar. BLOB is just 65535 chars. Use MEDIUMBLOB (2^24 bytes) or LONGBLOB (2^32 bytes). Also

Re: [PHP] Addslashes limit [SOLVED]

2003-12-17 Thread Cesar Cordovez
Hi. Turns out that addslashes is not guilty of truncating it's result. Marek is right here. Changed the type of the field from BLOB to LONGBLOB and everything works great! Thanks! Marek Kilimajer wrote: Cesar Cordovez wrote: HI! Is it just me or addslahes truncates the result to 65535

Re: [PHP] Addslashes limit

2003-12-17 Thread CPT John W. Holmes
From: Cesar Cordovez [EMAIL PROTECTED] 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,