News Feed
Sections




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

GoodPHPTutorials.com:
SQL Injections in PHP with MySQL
March 20, 2006 @ 07:42:59

On GoodPHPTutorials.com, there's this helpful tutorial that anyone working with any sort of website that has a database backend should look into - a brief look at SQL injections with PHP and MySQL.

SQL injections are a major security risk in many PHP applications. Injections are caused when a web developer allows the end-user to manipulate a variable that is being inserted into a database query string, generally through the $_GET, $_POST or $_SESSION superglobals. When a value isn't verified, major problems can occur. Since MySQL is the most commonly used database platform for PHP applications, it seemed appropriate to write an article specifically related to that.

They cover different topics that you'll need to protect yourself against a basic level of SQL injections - the key is the validation of your data. They have code examples to help you along and explain each step, including outputting the data to the page (where things like cross-site scripting issues can occur).

0 comments voice your opinion now!
tutorial SQL injection mysql verify input data tutorial SQL injection mysql verify input data


blog comments powered by Disqus

Similar Posts

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

PHPBuilder.com: Profiling PHP Code with Xdebug and KCacheGrind

C7Y: Step Away From the SuperGlobals! An Introduction to Inspekt

Gonzalo Ayuso: Building a simple API proxy server with PHP

SitePoint PHP Blog: 6 Reasons to Move to Laravel Homestead


Community Events





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


conference development zendserver list laravel code api release series interview symfony podcast community introduction threedevsandamaybe framework deployment language bugfix tips

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