News Feed
Sections




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

DevShed:
PHP Programs to Prevent MySQL Injection or HTML Form Abuse
January 07, 2009 @ 11:13:41

On DevShed today there's a new tutorial looking at a method for protecting your application (your MySQL/PHP application) forms from malicious attacks like SQL injections.

It has been known for a while that if a form is unsecured, malicious code in the form of MySQL injection will be initiated to attack the site. HTML forms such as drop down menus, search box, check boxes are all susceptible entry points of this type of abuse. This article will explain what happens in this kind of attack, and how to prevent it.

They compare unvalidated input with a validated method that uses some simple checks to ensure that the given content is numeric and regular expressions to match text.

0 comments voice your opinion now!
tutorial form abuse security regular expression validate


blog comments powered by Disqus

Similar Posts

SitePoint PHP Blog: PHP and WMI Dig deep into Windows with PHP

Rob Allen's Blog: Zend Framework on a shared host

HowTo Forge: Installing The PHP-MemCache Module On CentOS 5.0

SitePoint PHP Blog: Data Fixtures in Symfony2

PHPMaster.com: Data Structures for PHP Devs: Stacks and Queues


Community Events

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


interview framework release voicesoftheelephpant community laravel development opinion language library extension psr7 laravel5 conference introduction series video podcast api unittest

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