News Feed
Sections




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

Douglas Brown's Blog:
Three Important Tips to Write PHP Code Defensively
December 23, 2008 @ 16:40:30

Douglas Brown has a few helpful hints to help you write your PHP code defensively, protecting your code from malicious attackers.

The phenomenal growth of PHP applications has also led to a mushrooming of increased quantum of malicious activity. It thus becomes imperative that you write secure PHP code to protect your website. Here are some tips for the same. The three most vulnerable aspects of PHP that can become easily accessible to anyone are XSS (Cross Site Scripting), Global Variables and SQL code.

He details what each is and how you can protect your code against the problems they cause. Some example code is included to give you a better idea of the possible solution.

0 comments voice your opinion now!
defense tip application protect xss global variable sql injection


blog comments powered by Disqus

Similar Posts

Sameer Borate's Blog: Benchmarking Wordpress SQL using FirePHP

Tiffany Brown's Blog: Debugging tip: "Disallowed Key Character" error in CodeIgniter

Jacob Santos' Blog: Global Functions and How to Not Use Them

David Van Couvering's Blog: Real-world experience with the new NetBeans PHP and JavaScript editors

Stuart Herbert's Blog: Quick Tip: Get, Set and Query in One Method


Community Events

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


series example interview podcast version api community voicesoftheelephpant framework introduction library conference laravel extension release opinion application symfony2 performance php7

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