PHP Classes

string validation

Recommend this page to a friend!

      PHP Typification Class  >  All threads  >  string validation  >  (Un) Subscribe thread alerts  
Subject:string validation
Summary:It doesn't seem to work properly
Messages:3
Author:Matías montes
Date:2005-11-09 13:45:43
Update:2005-11-09 17:40:04
 

  1. string validation   Reply   Report abuse  
Picture of Matías montes Matías montes - 2005-11-09 13:45:43
I've been trying your class using the example provided and i've been having problems with the string validation.
I changed the minimun length for the string and reduced the string I sent to less than the minimun length and it PASSED. Then I tried changing the string value to one that was not allowed and it also PASSED.
I also had some wrong validation when I tried to set the number of elements allowed in an array of strings.

Other than that I think the class is great and I know I'm going to use it a lot in debbuging.

Keep up the good work

BARBAZUL

  2. Re: string validation   Reply   Report abuse  
Picture of Dmitry Sheiko Dmitry Sheiko - 2005-11-09 16:59:14 - In reply to message 1 from Matías montes
Thanks. I hadn't time for thorough testing. I'll try to fix this soon

  3. Re: string validation   Reply   Report abuse  
Picture of Dmitry Sheiko Dmitry Sheiko - 2005-11-09 17:40:04 - In reply to message 1 from Matías montes
I've fixed it. See http://www.phpclasses.org/browse/file/11443.html