Add Exim service on Fail2Ban – Ubuntu Date Posted: 21-06-2017 In our previous, we explained on how to install Fail2ban on Ubuntu host. Incase, if fail2ban is not installed then follow below post to install. Install Fail2Ban on Ubuntu Implementation: If you followed our previous post, just append the below… Continue Reading Add Exim service on Fail2Ban – Ubuntu

Posted Date:20-06-2017 In this post we will explain dynamically set codeigniter baseurl. Step 1: navigate to application/config and open config.php file edit $config[‘base_url’] using following code. $config[‘base_url’] = ((isset ( $_SERVER [‘HTTPS’] ) && $_SERVER [‘HTTPS’] == “on”) ? “https” : “http”); $config[‘base_url’] .= “://” . $_SERVER [‘HTTP_HOST’]; $config[‘base_url’] .=… Continue Reading Dynamically set CodeIgniter Base URL

Posted Date:19-06-2017 In this post we will explain Make the <li class> to be Active when click menu Step 1: Include jQuery Plugin necessary  jquery files. <source src=”http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js”></source > <source src=”https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.4/js/bootstrap.min.js” type=”text/javascript”></source > <source src=”https://cdnjs.cloudflare.com/ajax/libs/admin-lte/2.3.11/js/app.min.js” type=”text/javascript”></source > Step 2:Add the following jquery script code for dynamic active class var url = window.location.href; // for sidebar… Continue Reading Make the menu to be Active when click menu

Posted Date:19-06-2017 In this we will explain check box checked or not. Step 1: Include jQuery  Plugin <source src=”http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js”></source > Step 2:Create the HTML page using  following code <!DOCTYPE html> <html> <head> <title>Check/uncheck </title> <source src=”http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js”></source> </head> <body> <input type=”checkbox” class=”test” value=”” > $(document).on(‘click’, ‘.test’ , function() { if ($(‘.test’).prop(‘checked’)==true)… Continue Reading check / uncheck checkbox using jquery?

Yum roll back an update on centos: Date Posted: 16-06-2017 There are few scenarios after installing new packages, some functionality may break. In such scenario, its hard to figure out what went wrong so we immediately want to revert back. In this post, we will explain on how to roll… Continue Reading Yum roll back an update on centos

Posted Date:04-03-2017 In this Post we will explain how to use jquery custom rule,remote,extension validation in html form.   Step 1:Create mysql table name as users using following code — phpMyAdmin SQL Dump — version 3.5.2.2 — http://www.phpmyadmin.net — — Host: 127.0.0.1 — Generation Time: Jun 15, 2017 at 09:21 AM… Continue Reading jquery custom rule,remote,extension validation

Install Fail2ban on Ubuntu 16 Date Posted: 14-06-2017 Fail2ban is a service used to ban IP address which makes unsuccessful attempts. In our previous post, we explained on how to install fail2ban on centos 7 server. In this post, we will explain on how to install fail2ban on ubuntu host. Incase… Continue Reading Install Fail2ban on Ubuntu 16

Date Posted:14-06-2017 In this post  we will explain codeigniter importing data using excel file and PHPExcel libary I assume that you are configure or setup the codeigniter step1:Download PHPExcel libarry from it’s github repository or you can download it from PHPExcel official website. Dwonload PHPExcel library Dwonload PHPExcel library from… Continue Reading codeigniter importing data using excel file

Install Fail2ban on Centos 7 Date Posted: 13-06-2017 Fail2ban is a service used to ban IP address which makes unsuccessful attempts. In this post, we will explain on how to install fail2ban on centos server. Implementation: Fail2ban normally available on epel  repo. Incase if epel package is not installed then install… Continue Reading Install Fail2ban on Centos 7

Date Posted:13-06-2017 In this post  we will explain export data from database using PHPExcel libary I assume that you are configure or setup the codeigniter Step 1:Create the mysql table currency,use following code — phpMyAdmin SQL Dump — version 3.5.2.2 — http://www.phpmyadmin.net — — Host: 127.0.0.1 — Generation Time: Jun… Continue Reading Export data from Database to Excel Sheet(.xls) using Codeigniter