Re: mysql_real_escape_string(0xffffffff) yields -1

From: Date: Fri, 15 Jan 2010 23:04:08 +0000
Subject: Re: mysql_real_escape_string(0xffffffff) yields -1
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-301143@lists.php.net to get a copy of this message
Richard Lynch wrote: > The subject line says it all: > > mysql_real_escape_string(0xffffffff) 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?... > Is this a 32 or 64 bit system?

« previous php.general (#301143) next »