mysql_real_escape_string(0xffffffff) yields -1
| From: | Richard Lynch | Date: | Fri, 15 Jan 2010 22:22:46 +0000 |
| Subject: | mysql_real_escape_string(0xffffffff) yields -1 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-301142@lists.php.net to get a copy of this message | ||
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?...
--
Some people ask for gifts here.
I just want you to buy an Indie CD for yourself:
http://cdbaby.com/search/from/lynch