PHP

PHP Code to Implement Fast Pattern Matching

Pattern matching is to check for the presence of some string in a given text. You must be wondering what I am intending to convey by the term fast in the title of this article.

How to Capture Screenshot of a Website Using PHP

Capturing website using PHP script is very easy. In this post, explain you how to capture screenshot using PHP code. We are using an PHP class “screenshot.class.php”. It will send an web request to ScreenshotLayer API to grab the website screenshot in JPG, GIF or PNG formats.

Get IP Address and GeoLocation of Login User

If you have a web portal and you need to get the geolocation from an IP address of every user who has logged into your website, then you can do it very easily using simple PHP script.

PHP Code to Search a Keyword in Whole Database

Searching a keyword in a MySql table can be easily implemented, but it has always been a cumbersome task to search a keyword in the whole database. Moreover it is has been observed as a common need for many web application, particularly for advanced search like functionality.

PHP Code to Convert Numeric Value into Text Format

Many a times, in our applications we need to convert number to text format. Till now, we have to write our own logic for it. But a good news for software developers that PHP has introduced a new class with name “Num2Text” that helps converting a number into respective text value.

How to Create Rss Feed Script Using PHP and MySQL

The Rss Feed help a website’s content to crawl and index fastly. For SEO prospects Rss Feed play important role for website. If you have a website in PHP based Framework, than this is right post for you to check How to Create Rss Feed.