Thursday, January 29, 2004 | |
PHP Lesson: is_int() vs. is_numeric() This one is for Steve: Note to anyone else who might do the dumb thing I did. When you're handling GET/POST input in PHP and wan to know if a value is numeric, don't use is_int() because it'll lie to you. What you want is is_numeric(). Of course, the is_int() documentation specifically warns you about this, but it doesn't do much good if you read right past it. I was *this* close to walking over to Rasmus or Andrei and asking for a sanity check,... [Jeremy Zawodny's blog] 2:57:13 PM trackback []         |
Dio For America Funny! http://dioforamerica.com/ 12:08:12 PM trackback []         |
San Franciscans to Reclaim the Streets This is just a few blocks from where I live.
10:57:05 AM trackback []         |
the big three ohHappy birthday bro! 9:43:01 AM trackback []         |