- Thursday, July 31, 2008, 12:23
- php, web services
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.
Full story
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.
Full story
- Tuesday, July 15, 2008, 17:07
- how-to, php, tips and technique
Today, I was going through the T
echnorati 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.
Full story