Add Invite Facebook Friends Feature In A Website

Please read this before continuing : Looks like Facebook is making restrictions into this. Note that, this tutorial is not officially supported by Facebook. You can say this is a trick or a hack. So, no guarantee whether this will work now or in the future. This worked before, but it has been noted that Facebook is restricting this “hack”. There is an Invite feature for Facebook apps. Inviting feature…

Simplest Way To Detect A Mobile Device In PHP

Mobile users are increasing. Most of the site visitors of a website is using mobiles to browse. So you need to redirect users who uses mobile to a mobile page of your site. In Javascript it is easy, because you can check the width and height of the window. But on server side, it can become difficult. You will find is_mobile() function in this post which detects if the client…

Encryption & Decryption Using Mcrypt In PHP

Mcrypt is a replacement of Unix‘s popular command crypt. It is a file encryption tool. Mcrypt uses modern algorithms for encrypting. Hence it is considered as secure and safe. To encrypt a string, Mcrypt requires a key to encrypt and decrypt. This key have a critical role in encryption and decryption. In this post I’ll be giving out two functions that will encrypt and decrypt based on a key. The…

Implementing Login With Facebook In PHP

In the last post, I introduced you to a PHP OAuth Class named OAuth API. In this post I’m going to tell you how to implement Login With Facebook feature in PHP using the class I introduced. It’s very simple. I will tell the ways of implementing step by step. This tutorial includes placing a Login with Facebook button on web site to authorization and finishes when we get user…

How To Create A Simple Password Strength Checker In jQuery

A lot of new hacking methods are coming day by day. So it’s the programmers duty to make their user’s password secure. Here is a simple Password Strength Checker created using jQuery. The code contain a function got from WordPress (I modified it) which is the core component of the checker. This checker will check the following on the password : Have minimum value of 4 characters. Whether the username…

Submitting Blogger Blog Sitemap To Google & Other Search Engines

Sitemap is a XML file that contains all the links of your site/blog. Sitemap can be manually created or automatically created using some online tools. These Sitemap can be submitted to search engine via the tools they provide or by mentioning the sitemap in robots.txt. In Blogger blogs the sitemap is located in different places.In Blogger Blogs with the .blogspot.com sub domain, the sitemap is in a simple location ie : http://YOURBLOG.blogspot.com/sitemap.xml But on other blogs ie blogs…