ok well what i wanted to do was make a user-id valadator... all i wanted to allow was "_" (a-z,A-Z,1-0) so the function ctype_alnum seemed useful... but problem was it wouldnt work? the server i'm on has php 4.06... just says it's not defined?
well does anyone know another way to do this? i know one why but it would involve going through it byte by byte comparing... or is this the only way? i know PHP supports those PERL string code things, i don't yet get a bit of it heh, but anyone know one of those that could do the checking for the whole word at once?
thanks
~Blake
ps. anyone happen to know a site to learn those perl string codes? i seen one on PHP.net but it's more of a refrence and i don't get a bit of it.