PHP – Download File With a Speed Limit

This PHP example helps to allows you set a limitation for download rate of the file that visitors download from your site. Code Example:

Read more »

PHP – Backup Your MySQL Database

The given PHP example helps you to take the database backup that you can call whenever you want or may call via CRONs. Code Example:

Read more »

PHP – Pass an array parameter to Javascript Function

Writing an PHP array in a javascript file with json_encode. Code Example:

Read more »

PHP – Google Currency Converter

The given PHP example is a currency converter, and can convert one currency amount into other currency amount. Code Example:

Read more »

PHP – Parse YouTube URLS

The given PHP example parses the various types of YouTube URLs and returning the embed iframe with optional width and height. Code Example:

Read more »

PHP – WordPress – List Sub Pages of Current Page

The given PHP example list the sub pages of a current page in WordPress. Code Example:

Read more »

PHP – Delete Directory and Content Recursively

The given PHP example delete the directory and its content recursively. Code Example:

Read more »

PHP – Cache

The given PHP examle helps mantain the cache. Code Example:

Read more »

PHP – IE8 Iframe Cookie Issue

The given PHP example to saving cookies from iframes with IE8. Code Example:

Read more »

PHP – WordPress – Load Pages by jQuery

The given PHP example load the wordpress pages with jQuery. Code Example:

Read more »

PHP – WordPress – Hide/Remove WordPress Admin Menus

The given PHP example helps you hide the admin menu options in wordpress. Code Example:

Read more »

PHP – Show OS, PC and Host Name

The given PHP example shows your Operating System, Computer, and Host name. Code Example:

Read more »

PHP – Calculate Age

The given PHP example can calculate the age in years. The age format should be mounth-day-year. Code Example:

Read more »