Month: February 2020

Get current URL with jQuery

Below tutorial explains,how to get the current URL of the page in JavaScript or JQUERY. The current URL represents a full page URL. We can also get current domain, hostname, pathname, protocol, port, hash and other components of the full page URL. You can also redirect the current page URL to other addresses with the

How to enable profiler in codeigniter application and how to set multiple benchmark

Below tutorial shows on how to profiling Codeigniter application. Codeigniter’s Profiler class gives the benchmark results, queries you have run and POST data and total time to execute the method etc..By using this information may used for debugging and optimization of your codeigniter application. Enabling ProfilerAdd below lines in specific controller: To disable the profiler

Convert Hex Color to RGB in PHP

This tutorial will explain how to convert color code from HEX to RGB in PHP Uses: Use  hex2rgb() function like the following. Tags: Convert hex color to RGB values in PHP,Convert HEX to RGB,Convert Hex Color to RGB using PHP,PHP Function To Convert Hex To RGB,How to convert Hex code to RGB code in php,Convert HEX