Google Drive as Free CDN?

CDN stands for Content Delivery Network. The goal of a CDN is to serve content to end-users with high availability and high performance.Which will deliver the files from the nearest server based on the geographic locations […]

Check if an IP address is private with PHP?

This snippet will detect a private IP address using PHP’s built in filter library and It will return false if the IP address is private.

FILTER_FLAG_IPV4 : Allows the IP address to […]

Create and download CSV files using PHP

If you need to download a CSV file on the fly without writing to external file, than you need to open php://output stream and use fputcsv() on it. Built in fputcsv() will generate CSV lines from given array, so you will […]

Selection styling with CSS

One of the little known styling options is selection text styling with in the browser.Yes, it is possible to define color, background and text-shadow for text the user selects. The double colon :: CSS pseudo-element is […]

Placeholder styling with CSS

By default, placeholder text in inputs has a light gray color(if the browsers support) and which appears in an input field until the user puts focus on the field. Placeholder text is a hint or prompts to users as the format […]

Genuine ways to stay motivated

Success and achievement have different meanings for different people. In the quest for money, good jobs, top positions and materialistic possessions, we sometimes forget where the journey began. If money is a means to […]

How to prevent sleeping at work

At the workplace, you want to get the work done and those targets achieved. Come next appraisal, you absolutely need your boss to give you a glowing feedback along with that satisfying rating. Is that right? Reality crashes […]

CodeIgniter _remap function?

CodeIgniter permits you to override its default routing behavior through the use of the _remap() function. As you already knew the second segment of the URI typically determines with function is in the controller get called […]

How to check / uncheck all check boxes using jQuery?

You may have noticed select/deselect all functionality on websites like gmail.com, outlook.com or even in the wordpress admin dashboard basically which allows you to select all emails or posts on the page with single click. […]

Form Validation in Laravel5: The Right Way

Laravel 5.0 introduces Form Requests, which are a special type of class devoted to validating and authorizing form submissions. Each class contains at least a rules() method which returns an array of rules and an authorize() […]

DMCA.com Protection Status