Looked at Zend and although neat, overkill for my own purposes.
I need more of a validation solution than a filtering anyways.
Meaning I will test for validity and fail to continue if it's bad. I guess, except when validating TEXTAREA in which case it's prolly a lot faster/easier to just strip HTML or convert to entities.
Didn't think of that one until now.
Anyways, smartest, leanest filtering solution...why not just store an array of regex in a hash array and pull that regex into a preg_* and be done with it???
Any other techniques or solutions (other than Zend or Regex) which you feel are worth mentioning?
| Author: |
Hockey
|
| Zend Framework Version: |
Unknown
|