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.

rts-sf-small.gifA new Reclaim The Streets movement is underway in San Francisco. Participants hope to replace the usual glut of automobiles near the intersection of Haight and Stanyan Streets with a flood of pirate-attired, partying pedestrians on Valentine's Day 2004 from noon until 9 pm.

The original Reclaim The Streets groups coalesced to form massive London street disruptions in the 1990s, including a 1996 event in which thousands reappopriated a 3/4 mile stretch of highway to form a giant street party.

See details of the San Francisco RTS movement, and plans for the February 14 event, at http://www.rts-sf.org. And spread the word.

(PARANOID WARNING: The RTS-SF Web site includes a mysterious sign-up form that requests your e-mail address. I'm not saying the people behind this site aren't who they claim to be, but it's best to assume the worst -- that spammers and/or John Ashcroft are on the receiving end of that form. Use a junk e-mail account, or just don't register.)

[Smart Mobs]

10:57:05 AM    trackback []     
 
 
 
the big three oh

Woooo, today I am 30 years old.

[my weblog]
Happy birthday bro!
9:43:01 AM    trackback []     
 
 
 


Email Subscription
Enter your email address below to subscribe to deeje.com!


powered by Bloglet

Bookmarks
Steve Cooley
Tony Gentile
BloggerJack