News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPBuilder.com:
PHP Filters An Important Security Feature
October 02, 2009 @ 08:15:04

In a new tutorial on PHPBuilder.com today Marc Plotz looks at a handy feature you can use to help improve the security of your PHP application - and it comes included with your PHP5 installation: the filter extension.

Validation is perhaps the most important thing you can do on a website. Forgetting to validate absolutely every part of your website or application that interacts with a user is probably the most common mistake you can make. [...] PHP Filters are an extention of PHP that help you to easily - and reliably - validate variables and strings.

He looks at filtering variables with various kinds of filters (defined by the constants) and how to sanitize a string to remove anything but the main textual content.

2 comments voice your opinion now!
filter extension tutorial security


blog comments powered by Disqus

Similar Posts

DevShed: Retrieving Information on Selected Files with a PHP 5 File Uploader

DZone.com: Zend Application demystified

PHPBuilder.com: Search Google Books with the Zend Framework's Zend_Gdata Component

Zend Developer Zone: Creating Web Page Templates with PHP and Twig (part 1)

Zend Developer Zone: Quick Start Symfony DI (Dependency Injection) Tutorial


Community Events





Don't see your event here?
Let us know!


introduction release symfony zendserver bugfix interview deployment podcast tips laravel framework language series list voicesoftheelephpant api developer community library conference

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework