When developing web applications in PHP (or any other languages for that matter) there are several security aspects we should consider. In this article I'll try to explain some of the most common security flaws, and show simple ways to secure your site.