News Feed
Sections




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

Advanced PHP Tutorial:
7 Useful functions to tighten the security in PHP
October 08, 2010 @ 12:28:38

On the Advanced PHP Tutorial site there's a recent post that suggests a few useful functions that can get you started on security and protecting your application from possible exploits. These aren't the only way to prevent these issues, but they're a start in the right direction.

Security is a very important aspect of programming. In PHP, there are few useful functions which is very handy for preventing your website from various attacks like SQL Injection Attack , XSS attack etc.Let's check few useful functions available in PHP to tighten the security in your project. But note that this is not a complete list, it just list of functions which I found useful for using in your project.

The functions include mysql_real_escape_string for database query handling, htmlentities to filter user input for HTML and two hashing functions to create hashes you can validate from - md5 and sha1.

1 comment voice your opinion now!
security function xss sqlinjection application


blog comments powered by Disqus

Similar Posts

NetTuts.com: Creating an API-Centric Web Application

Ed Finkler's Blog: What Matt Mullenweg doesn't know about PHP5, and how it hurts him and his users

Dotvoid.com: New help desk application using Zend Framework

Three Devs and a Maybe Podcast: Web Application Security - Part 2

Greg Beaver\'s Blog: Why it is very important to upgrade to PEAR 1.4.6 from PEAR 1.3.x


Community Events





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


library laravel community opinion package interview series unittest deployment symfony introduction release tips update api zendserver language install podcast framework

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