Posts Tagged ‘security’
16 Sep 2008

PHP provides a strong toolset with immense power. Used carefully and with attention to detail, it allows the creation of complex, flexible and robust applications. A drawback of this powerful functionality is, that without this attention, malicious users can use open doors to attack your site in various ways. In order to prevent this atttacks, there are some basic rules a serious programmer should follow. These guidelines neither make your application totally immune nor is it a complete list – but they aggravate the work of hackers and contribute to a more secure coding style. more »

Part 1 and Part 2 about the proper use of PHP forms dealt with form validation methods and error handling. The last section will cover how to process the submited data and how to protect your forms against misuse. more »

Part 1 about PHP form validation and processing showed how good forms are structured and how to validate input fields. Part two handles drop-down menus, checkboxes and radio buttons, inline error messages. more »

PHP allows a seamingless integration of form vairables into your programs. It’s flexibility and smoothness make it easy to build applications that interact with user input like drop-down lists, input fields or selections. With this convenience, however, you have to make sure that the user provided data is valid and flows easily into your code. more »