http://codegeekz.com/10-php-snippets-for-developers/