Archive for the tutorials Category
Update your Facebook status using PHP and Graph API
In this article I am going to show you how you can update your Facebook status using simple PHP code and Facebook Graph API. This is the most naïve way to use this, you can extend this to make your own script to update your status from mobile, via cron job, via email or whatever you think makes sen
Read Full PostHow do I find a user’s UID or GID in Linux/Unix
In this post I am going to tell you, how can you find the User ID and Group ID of a user in Linux. You might require it when you scripting something on the OS level. We are going to use the id command to find the UID and GID of a user in Unix. To find a specific user's UID, goto the terminal an
Read Full PostUse Any Mobile With PC (Generic PC Suite)
Mobile Phones especially from China.. Commonly known as “China Mobile” have made HUGE inroads into the hearts & Hands of the Indian Consumer (Read Cheap, affordable & LOUD ). Now there are SO MANY Companies like: FLY, LEMON, JAIPAN, MICROMAX, that make “Branded” mobiles, which in
Read Full PostChange WordPress admin language with just one click
I got a different requirement for Wordpress blog this time. The client’s requirement was to change Wordpress admin’s language but not to change the blog’s language. The first thing that struck me was to use WPLANG function of wordpress, and use the desired language. But that way it changes t
Read Full PostDifference between InnoDB and MyISAM in MySQL
MyISAM and InnoDB are two most commonly used storage engines of MySQL database. However, MyISAM is the default storage engine chosen by MySQL database, when creating a new table. The major differences between these two storage engines are : InnoDB supports transactions which is not supported by
Read Full PostOptimize your WordPress blog for Android, iPhone and other SmartPhones
SmartPhones gave a new face to the internet. A smartphone let’s you browse the internet instantly, no matter where you are. Today, every website has its separate mobile site for better usability. But it is very difficult for someone to develop a complete different mobile site. But if you are us
Read Full PostInstalling Apache2 and PHP5 on Ubuntu
In this post we will learn how you can install Apache2 server and PHP5 on Ubuntu. Undoubtedly, Apache2 is the most famous webserver and along with PHP, these both become the best recipes to cook pretty neat websites. Oh ! Was that too much cooking, eh ? Sigh ! let’s not get more into and comin
Read Full PostGetting started with PHP framework codeigniter
I have always worked with core PHP and was always reluctant to use any CMS (Joomla, Drupal etc). Coincidentally I never got a chance to work on any of the frameworks in PHP. But in the current project at work, we have decided to use CodeIgniter. CodeIgniter is a light weight open source web applic
Read Full PostHow to solve WordPress Maintenance mode problem
Wordpress provides a very sleek feature to update core install and the installed plugins. You can upgrade all the installed plugins in one go or either upgrade the ones you wish to. But sometimes while using the maintenance mode it does not complete for some reason and crashes in the middle of the p
Read Full PostAsynchronous and Synchronous AJAX calls
AJAX as you might be knowing stands for Asynchronous JavaScript and XML, but in this article we are going to see what is the difference between Asynchronous and Synchronous AJAX call ? Let's see how an AJAX call is made from client and what it involves. An object of the browser's XML HTTP Requ
Read Full PostChange onclick function for anchor tag using JavaScript
In this post we will learn how to change or add JavaScript function on the onclick event for the anchor tag. Infact, you can use this methodology add/change JavaScript function for almost any event and on elements which support such events. In usual scenario one tends to change/add JavaScript fun
Read Full PostWhat is self executing function in Javascript
I have been working on JavaScript quite extensively since last few months and I found this self executing function really helpful. It's unique in its own way and can actually help you a lot. A self executing function in JavaScript is the one which is invoked automatically as soon as it is defined. I
Read Full PostDrag an element,image etc using javascript,html,css
Hey fellas, Today I am going to show you how you can make an element draggable or moveable on your webpage. This webpage element can be either image, div or even input box. We are going to use simple Javascript, CSS and HTML for this purpose. You can see a working demo on this page and can save t
Read Full PostSend multiple direct messages on twitter
Howdy People, You have already learnt “How to update your twitter status ?” and also learnt how to interact with twitpic API to successfully upload images. Today I am going to show you how you can send direct message on twitter using the Twitter API and PHP. This piece of code will allow you
Read Full PostSimple tabs using Javascript and CSS
Hey Folks, Its been long since Digimantra got these Javascript tabs in the sidebar. They are pretty sleek and light in weight. Many of my friends & visitors requested me to share the tutorial for these kind of tabs so that they can customize it and put it on their blogs/websites. These ta
Read Full Post