delphi spirit, forever

21 Nov, 2008

10 Advanced PHP Tips To Improve Your Programming

Posted by: admin In: php code

By Glen Stansberry

PHP programming has climbed rapidly since its humble beginnings in 1995. Since then, PHP has become the most popular programming language for Web applications. Many popular websites are powered by PHP, and an overwhelming majority of scripts and Web projects are built with the popular language.

Because of PHP’s huge popularity, it has become almost impossible for Web developers not to have at least a working knowledge of PHP. This tutorial is aimed at people who are just past the beginning stages of learning PHP and are ready to roll up their sleeves and get their hands dirty with the language. Listed below are 10 excellent techniques that PHP developers should learn and use every time they program. These tips will speed up proficiency and make the code much more responsive, cleaner and more optimized for performance.

1. Use an SQL Injection Cheat Sheet

Sql Injection
A list of common SQL injections.

SQL injection is a nasty thing. An SQL injection is a security exploit that allows a hacker to dive into your database using a vulnerability in your code. While this article isn’t about MySQL, many PHP programs use MySQL databases with PHP, so knowing what to avoid is handy if you want to write secure code.

Furruh Mavituna has a very nifty SQL injection cheat sheet that has a section on vulnerabilities with PHP and MySQL. If you can avoid the practices the cheat sheet identifies, your code will be much less prone to scripting attacks.

Read more.

Related posts

Tags:

1 Response to "10 Advanced PHP Tips To Improve Your Programming"

1 | 10 Advanced PHP Tips To Improve Your Programming | delphi spirit … | MySQL Security

December 4th, 2008 at 6:25 am

Avatar

[...] more here: 10 Advanced PHP Tips To Improve Your Programming | delphi spirit … delphi spirit delphi vcl internet php programming sql injection tips updatedelphi spirit, delphi [...]

Comment Form