•  
  •  
  •  
  •  
  •  
  •  
  •  
Username:
Password:
Forgot password?  Register

Smartest filter/validating PHP code

Title: Smartest filter/validating PHP code
Category: Zend Framework Threads
Clicks: 63
Listing added: Apr 29, 2007
PageRank:
Not available
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?
Zend Framework Version: Unknown
Author Name: Hockey
Source: DevNetwork Forums
Referred By: Zend Framework Tutorials
Rating
  •  

Rating: 1.00/10 (1 vote cast) 

Comments

 

 


 characters left

captchaPlease input letters you see on the image.
Click on image to redraw.