NYCPHP Meetup

NYPHP.org

[nycphp-talk] Best practice for escaping data

Daniel Convissor danielc at analysisandsolutions.com
Sun Feb 18 11:07:57 EST 2007


On Thu, Feb 15, 2007 at 08:34:14PM -0500, Chris Shiflett wrote:

> I was going to say you might consider using ctype_digit(), but I guess
> your use of "+" is a nice extra check. :-)

I remember the ctype* functions not working properly when I tried them at 
some point, though I can't recall what the issue was exactly.

--Dan

-- 
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
            data intensive web and database programming
                http://www.AnalysisAndSolutions.com/
 4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409



More information about the talk mailing list