DevShed: Checking Boolean Values with Filters in PHP 5

Courtesy PHPDeveloper.org  Thu, 07/30/2009 - 08:09

DevShed continues their look at filtering in PHP5 applications with this third part covering checks on boolean values.

As I said before, the filter extension can be used for more than validating integers, since it provides the required functionality to checking other data types.

Thus, in the next few lines I'm going to discuss how to use the extension for validating Boolean values.

They give a few lines of example code to...


 

More related items

DevShed: The Autoload Magic Function in PHP 5
DevShed has posted the latest article (the last) in their series looking at the "magic functions" that PHP has to offer. This time they take a closer look at the autoload functionality. ...

DevShed: Sanitizing Strings with Filters in PHP 5
DevShed rounds the final corner on their sanitizing user input series of tutorials with the eighth part, a look at filtering inputted strings to remove potentially dangerous issues. In...

DevShed: A PHP Validation Helper Class in Action
DevShed has posted the next to last article in their validation helper series - a look at the full validation class in action checking various kinds of user input. The functionality of...


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com