Re: [PHP] Valid Chars....no fun!

2004-09-12 Thread John Holmes
Jay wrote: I got this code from here, i think it was "Ni Shurong" who gave it to me. The code works pretty good. Except i found that sending "asdas." into the function will return true...it should return false. What i am trying to do is check for valid chars. Only alpha and numeric. Can someone

[PHP] Valid Chars....no fun!

2004-09-12 Thread Jay
Hi! I got this code from here, i think it was "Ni Shurong" who gave it to me. The code works pretty good. Except i found that sending "asdas." into the function will return true...it should return false. What i am trying to do is check for valid chars. Only alpha and numeric. Can someone help m