Tips and Tricks

Top Ten Security Vulnerabilities in PHP Code !

1. Unvalidated Parameters Most importantly, turn off register_globals. This configuration setting defaults to off in PHP 4.2.0 and later. Access values from URLs, forms, and cookies through the superglobal arrays $_GET, $_POST, and $_COOKIE. Before you use values from the superglobal arrays, validate them to make sure they don’t contain unexpected input. If you know … Continue reading »

Categories: PHP, PHP, Tips and Tricks | Tags: , , | 373 Comments

Sync your Google and Outlook calendars

Google Calendar Sync: Getting Started Google Calendar Sync allows you to sync events between Google Calendar and Microsoft Outlook Calendar. You’ll be able to determine the direction of information flow, as well as the sync frequency. Staying on top of your Google Calendar and Microsoft Outlook Calendar events has never been easier! Keep in mind … Continue reading »

Categories: Computer Usage, Technology | Tags: , , | 431 Comments

Using MVC in PHP Applications.

The Model-View-Controller (MVC) architecture provides a useful three-tier pattern for building software, as MVC patterns decouple the graphical user interface (GUI) from the application logic. That comes in useful when it comes to changing an application after it has been deployed. Separation of the views from the data means modifications made in the views do … Continue reading »

Categories: PHP, PHP | Tags: , | 282 Comments