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.
Popularity: 9% [?]
Display different text on status bar of hyperlink of all browsers
Yesterday, Jacob mailed me and asked me how can I show different text or link in the status bar of browsers like Firefox or safari when mouse is over the link.He found the technique which only worked for IE but not for other browser but I’ve come up with a technique which works for all browser. This kind of technique is quite useful if you want to hide the actual link in status bar of browsers and show the different URL instead of actual one.
Popularity: 11% [?]
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.
Popularity: 32% [?]
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.
Popularity: 6% [?]
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% [?]





