Archive for January 17th, 2007

Paul Jones’ Blog: Sanitation with PHP filter_var()

In working on a new filter for his Solar framework, Paul Jones discovered that the “float” sanitizer in the new filter extension (PHP 5.2+) doesn’t quite work as expected.

I found a problem with the “float” sanitizing function in the 5.2.0 release, and thought others might want to be aware of it. In short, if you allow decimal places, the sanitizer allows any number of decimal points, not just one, and it returns an un-sanitary float.

He includes the text of the bug he submitted as an example of how the error might happen and, despite it being marked bogus, Paul still holds that things are still not working like they should.

Continue Reading · Add comment

Creating a MySQL Abstraction Layer with Bridge Classes in PHP 5

If learning how to incorporate creational design patterns into your own PHP 5 applications is a high-priority topic for you then this set of comprehensive articles might be what you re looking for. Welcome to the concluding installment of the series Using Bridge Classes with PHP 5. These tutorials will teach you how to implement the bridge pattern in PHP by providing you with many hands-on examples that can be included in your existing and future web projects….

Web Application Load Testing QTest is an advanced Load Testing and Web Application Performance Tool. Download the Full-version.

Continue Reading · Add comment