CodeIgniter : A recommendation for PHP Programmer

I was thinking to publish this post way before but between my irregularity and busy schedule I couldn’t do that. Today, I would like to tell you that Why I choose CodeIgniter for my current project and recommend it for other programmers? I’ve used CakePHP for my one previous project in which I’ve used the version 1.1.7 of Cake. I must admit that CakePHP is a great MVC framework with but there are many performance issues in the related to CakePHP and I decided not to use it until the final version of 1.2.0 of CakePHP which is still in RC phase while writing this post.

PHP Framworks !! Why , when and which ?

Well!! I know it’s been a long time, but what to do so many things to do and I’m having hard time to maintain this blog these days.Hope I will be regular like I was before. Today, I’m going to talk about some of the popular MVC PHP frameworks. A few people has asked me what is CakePHP, or What is CodeIgniter? How to to use them ? When to use them ? Today, I’m going to talk about PHP frameworks which I’ve used. Please note that the choice of choosing a framework is personal preference and the statement and this post is not going to say that this framework is better than this framework.

6 free ajax chat applications using PHP

While talking about chat application, these days people hate those kind application made in PHP which need page refreshing. In this post, I’ll show you six different free Ajax chat applications which might be very useful if you’ve to use Ajax based chat application. Depending upon the requirement of your chat application, you can use them. I might have missed another good Ajax based chat application, if you find any the please post it to the comments.

Changing textbox value from dropdown list using Ajax and PHP

Yesterday Tarquin macey asked me how can we change the value of the textbox based using Ajax and PHP based on the changing value of the dropdown list.Today, I’ve come up with a solution from him.In this post, you’ll see how to get the currency code of a country from PHP using Ajax and this currency code will replace the value of textbox each time the dropdown list changes.

Force download multiple files in a zip archive using PHP

In this post, I’ll show you how can you download the multiples files in a zip archive using PHP. I’ve made a function in PHP where you’ve to pass the parameters the array of files to be zipped, the second parameter is file name as which zip archive file has to be downloaded and finally the path of files where files to be zipped are located.(assuming that they are all in same folder)

Get free ebooks of essential PHP and JavaScript tips , tricks & Hacks

As you might know that this blog and are providing free magazines to the reader of this blog. You can check the free magazines and E-book in the free magazines resource of this blog. You can find a collection of great resources of IT knowledge from here. And, today I’m here to highlight the great E-books from on essential PHP and JavaScript tips , tricks  and other resources.

Handling array of HTML Form Elements in JavaScript and PHP

Today, I would like to share the way of handling array of HTML FORM elements using JavaScript and PHP.Well, it’s very easy to get the data from the array of HTML form elements in PHP and using them but in JavaScript it’s a bit tricky to handle the array of HTML form elements. I had a hard time to handle them via JavaScript in past thats why I’m posting it here so that people will not have hard time to cope with array of form elements in JavaScript and PHP.

How to filter user submitted data easily in PHP?

Yesterday, I saw one of my friend was working on the the contact form and was filtering the user input data(posted variables) individually. He was using a function in PHP to filter the input and using  tedious approach while calling the filtering function for each variables with coding  each of them in single line . Today, I’m going to show you how can you filter the posted variables easily using callback function in PHP.

Web Services and PHP – SOAP vs XML-RPC vs REST

What is web services?

In a typical web surfing scenario, a visitor visits a website and use the functionality provided by that particular website.HTTP request is send to server from web browsers and server responses are translated by browser to display the desired result of the visitor. But, this scenario has been changed in the recent days. You don’t need to visit the particular website to use their service and functionality if they are providing web services. Web services are set of platform independent exposed APIs(functions) which can be used used from remote server over the Internet. There are basically two parties involved in this, one which provides a set of exposed APIs and the another one ,commonly know as web services consumers,is the party which uses the functionality and services provided by web services providing party.

Getting country , city name from IP address in PHP

Yesterday, miaki asked me how can we get the country name from the IP address in PHP. Today, I’ve come up with the answer of this question. I’ve used the API from to fetch the country name , city name and country code from the given IP address. I’ve mad this function in PHP which uses XML response from and extracted country name, city name and country code using regular expression.

Getting technorati ranking in PHP without using their API

Today, I was going through the Technorati API to find the rank of the blog using PHP. Those who doesn’t know about Technorati, Technorati is known as the authority for tracking, indexing and ranking the blog sytems. When I went through the Technorati Api, I found that it is not that hard to get the ranking of a blog which is indexed in Technorati.You need to get the developer API  key from Technorati and use their Web Services to get the ranking of a blog.

Which is the best PHP framework ?

I’ve been asked a lot of times which is the best PHP framework. Well, it’s a very difficult question to answer this question and there are some pros and corns in each framework. So, today I would to hear your views via poll. Please let everybody know which is the best PHP framework among CakePHP, Symfony, Zend Framework, CodeIgniter and Seagull. So that, it will be easier for the PHP developer to choose right framework for the next project. And please post the comment, if you’ve something more to say.

Parsing the XML in easy way using PHP

Parsing the XML has been a tough task among the programmer of PHP. I frequently get questions from my friend and via email “How can we parse XML in an easy way? It seems to be a tough task”. If SimpleXML extension is loaded in PHP then it’s not a tough task. But, keep in mind that SimpleXML extension of PHP is only available from the PHP 5.0.