DevShed: Sanitizing Strings with Filters in PHP 5

You can't request more than 20 challenges without solving them. Your previous challenges were flushed.
Courtesy PHPDeveloper.org  Thu, 09/03/2009 - 06:21

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 this part, I discuss how to use the filter extension for sanitizing strings in all sorts of clever manners.

I'll show you how to encode quotes, low and high ASCII characters in literals, and remove them in the same easy manner.

Doing this can help prevent SQL...


 

More related items

DevShed: Enhancing a URL Handling Helper Class in PHP...
DevShed continues their look at making helpers in PHP5 classes with this new part of the series - updating their previous URL helper to change it over to a static class. As you'll possibly...

DevShed: Developing a URL Handling Helper Class in...
DevShed has continued their series looking at helper classes in PHP5 applications with this new tutorial about building a URL class to help with parsing and manipulation. Since it's a...

DevShed: Checking Boolean Values with Filters in PHP 5
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...


 

Post new comment

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