Re: [PHP] mysql_real_escape_string(0xffffffff) yields -1

2010-01-16 Thread Shawn McKenzie
LinuxManMikeC wrote: > On Fri, Jan 15, 2010 at 3:22 PM, Richard Lynch wrote: >> The subject line says it all: >> >> mysql_real_escape_string(0x) yields -1 >> >> What's up with that? >> >> Is there some way to convince mysql_real_escape_string to use BIGINT? >> >> I guess I'll just PCRE for

Re: [PHP] mysql_real_escape_string(0xffffffff) yields -1

2010-01-16 Thread LinuxManMikeC
On Fri, Jan 15, 2010 at 3:22 PM, Richard Lynch wrote: > The subject line says it all: > > mysql_real_escape_string(0x) yields -1 > > What's up with that? > > Is there some way to convince mysql_real_escape_string to use BIGINT? > > I guess I'll just PCRE for digits and then pass it in and.

Re: [PHP] mysql_real_escape_string(0xffffffff) yields -1

2010-01-15 Thread Jim Lucas
Richard Lynch wrote: > The subject line says it all: > > mysql_real_escape_string(0x) yields -1 > > What's up with that? > > Is there some way to convince mysql_real_escape_string to use BIGINT? > > I guess I'll just PCRE for digits and then pass it in and... > > But what if somebody p

[PHP] mysql_real_escape_string(0xffffffff) yields -1

2010-01-15 Thread Richard Lynch
The subject line says it all: mysql_real_escape_string(0x) yields -1 What's up with that? Is there some way to convince mysql_real_escape_string to use BIGINT? I guess I'll just PCRE for digits and then pass it in and... But what if somebody passes in some BC Math number?... -- Some