Useful PHP functions Copy/Paste
What can please you more when you can just copy and paste necessary PHP functions directly in your projects, without wading through tons of snippets, that’s just one less headache for you. Here’s the collection of some practical PHP snippets collected from web, you can just copy and paste them in your projects.
Login with Google using PHP API library
Implementing Google Login system in your website is very easy, the Google API Client Library enables us to work with many Google services like Google+, Drive, or YouTube etc. We can also use the library to fetch user details required for registration and login. Today let’s learn how we can use Google API Client Library to make user login and registration system for the website.
Post to Facebook Group Wall PHP API
Since I wrote tutorial Post to Facebook Page Wall, few people have asked me to write a tutorial that will post messages on Group wall as well. If you look at previous examples, you should be pretty clear how everything works, posting message or link works very similar way as before, by issuing HTTP POST request to the GROUP_ID/feed.
Writing Basic Adsense Plugin for WordPress
Fortunately, there are plenty of WordPress plugins available for almost anything. But sometimes, we aren’t that lucky, few days ago, I needed an Adsense plugin for a WordPress site, and realized there are way too many plugins for Adsense! I tried few, but I felt they are overly complicated for my need, So, I decided to write my own simple Adsense plugin for WordPress 3.