For PHP developers snippets come extremely handy when they have to spend long hours to code their websites and applications. These guys can swear on their advantage and the level of control and speed these snippets provide to maintain the pace of their work. PHP snippets can be valuable for any webmaster as they offer a variety of functions which can save their time and efforts when developing a site.
Recently I needed to create a Facebook likebox WordPress widget for my friend, which of course can be easily created using a WordPress text widget, but since my friend is new to WordPress and has no clue about coding, and to make matters worse, she wanted to display it only on certain pages like single and category pages! So, I decided to quickly create a custom WordPress Widget, which should be flexible enough for her needs.
In this tutorial I will show you how to create a Reddit login button for your website using PHP. What is OAuth? OAuth is a protocol used to allow secure authorization to websites and applications to access user information. There are two versions of OAuth, 1.0 and 2.0. In this post we will use OAuth 2.0 to build a Reddit login system.
ImageMagick is great image processing for PHP, with ImageMagick you can resize your image, crop and do many other things in a very simple manner, it supports numerous image formats. Today we are going to create a very simple Ajax based image resize script using ImageMagick (PHP) and jQuery.