Stop Words are words which do not contain important significance to be used in Search Queries. Most search engine filters these words from search query before performing search, this improves performance.
Mysql full-text search also fillers some stop words which can be found in the storage/myisam/ft_static.c file. See List of Mysql Stop word
We have created the list of English stop words to use in Keywords Density Checker tool.
Continue reading “List of English Stop words”
Conversion of geo-coordinates into address is known as Reverse Geocoding. In this script we are using Google map API because it’s free, fast and no API key required.
Rate Limit of Google reveres Geocoding is 2500 API calls per IP per day. Continue reading “Get address from Latitude/Longitude in php”
This php function helps to determine whether page is accessed by spider bot or not. If page is accessed by any of the bot listed in $bots_list array then function will return bot name otherwise it will return false. I have added only top 3 spider bots in list but you can expend it. Continue reading “PHP function to detect spider bots”
Here is the list of most useful regular expressions for webmasters. To test them on text string use our Regular expression testing tool.
Continue reading “8 Most useful regular expressions”
This is a standalone php class to find whois information of domain or IP.
- Automatically lookup for secondary whois server.
- In-built IP and domain validator.
- Automatically remove http:// and www. from start of domain
- No dependencies
Continue reading “PHP whois lookup Class”
I have created a tool to check social popularity of website. That shows total number of Google plus, Tweets, Facebook likes, Stumbleupon views, Delicious bookmarks, Linkedin shares and Pinterest pins for a website or URL.
Here is a php class to get social share count. It might be useful for you Continue reading “Php script to get social share count”
If you are building a website about movies and want to access movie information from Imdb then you can get it only by web scrapping because Imdb doesn’t provide any API to access its movie database. But there are some third-party API which provides information from Imdb.
In this article I will explain how to use following two APIs
- omdbapi.com (Requires API key)
- imdbapi.org (stopped working)
Continue reading “PHP: Get movie information from IMDB”
I was developing a tool which extracts all links from webpage but I was getting relative path (e.g. /dir/page.html) instead of absolute url (e.g. http://www.example.com/dir/page.html). Most of websites use relative path to link internal page and browser can convert in into absolute url but php don’t have any inbuilt function to do this. So after searching internet I found one which can convert relative path into absolute url. This is one of the important function for php programmer but missing in php language Continue reading “Convert relative path into absolute url”
Web feed is a data format used to provide updates for blog or website. Most common types of feed are Rss and Atom. In this article you will learn how to read these feeds using php.
As we know that feeds are generated by using XML, so generic way to parse it by using php5 simplexml_load_file function. But we have to write different functions to parse different types of feed and versions.
To do this in simple way there is a php class named SimplePie
Continue reading “Read Rss/Atom feed using php”
This is one of the most asked question by php programmer because mysql doesn’t has any array data type. So we can not store array directly into mysql database.
To do this we have to first convert array into string using php serialize() function then save it into mysql database. Continue reading “How to store array in mysql?”