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 hostip.info 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 hostip.info and extracted country name, city name and country code using regular expression.

Read more

Popularity: 29% [?]

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.

Read more

Popularity: 5% [?]

Tips to increase search engine traffic for your blog

Which kind of traffic are you interested for your blog ? Is it traffic from social media or Is it traffic from search engine ? Which kind of traffic  is the better for your blog ? It must be one the which is consistent and regular and it is the traffic from search engine. It’s been around 6 month when I started blogging in this domain. And nowadays, this blog is getting more than 1500 visits from the search engine.For detail,You can see the picture below directly taken from Google Analytics. Read more

Popularity: 5% [?]

5 useful Google search tips you might now know

I never knew that Google search can be used as calculator, currency converter or height and weight unit converter. Today I’ve discovered few Google search technique and I would like to share those technique with you. Look at the few useful search technique and you’ll get the answer “Why Google is the superior search engine?”.

Read more

Popularity: 8% [?]

How to control the case of characters using CSS?

How are you controlling the case of the characters in your project. Talking about me, I was using ucwords() function of PHP to control the case of the characters when required. Today, I come to know  two new property of CSS which controls the output of the case of the characters of the words.

Read more

Popularity: 5% [?]

Next Page →