Codeigniter 404 error on nginx Date Posted:24-05-2017 Recently, we deployed a codeigniter application on one of our server and found that it shows 404 error when we try to access the custom urls(such as domain.tld/login, domain.tld/admin, domain.tld/dashboard). The same application works fine on Apache webserver. After a long research, we found… Continue Reading Codeigniter 404 error on nginx

Date Posted:24-05-2017 In this post we will explain how to send email using HTML templates in Codeigniter How to send email using HTML templates in Codeigniter Step 1: Create HTML file with suits to your template. Path : /application/views/emails/test-email.php <!DOCTYPE html> <html> <head> <meta charset=”utf-8″ /> <title>Codeigniter mail templates</title> <meta… Continue Reading How to send email using HTML templates in Codeigniter

Posted Date:24-05-2017 In this post we will explain how to use a sub folder in default controller route in codeigniter 3 How to use a sub folder in default controller route in codeigniter 3 step1:Open application->system->Router.php file and edit the below mention line number Step2: line 1(298). if (sscanf($this->default_controller, ‘%[^/]/%s’,… Continue Reading How To Use A Sub Folder In Default Controller Route In Codeigniter 3

Install Phpmyadmin on Ajenti Control Panel Date Posted:23-05-2017 Phpmyadmin is a open source php application used to manage mysql database server from webbrowser. In this post, we will explain on how to install phpmyadmin on Ajenti Control panel. Prerequisites: Ajenti Control Panel Incase if ajenti control panel is not installed… Continue Reading Install Phpmyadmin on Ajenti Control Panel

Install Phpmyadmin on Ubuntu Date Posted:23-05-2017 Phpmyadmin is a opensource php application to manage database through web browser. We can create database, users, manage database tables, granting privileges and much more operation through browsers. We will explain on how to install phpmyadmin on Ubuntu host. Prerequisites: This post assumes that Ubuntu… Continue Reading Install Phpmyadmin on Ubuntu

Install Multiple version of node on linux Date Posted: 08-05-2017 We want two version of node version on a single server. Alternatives is an utility which can be used to install two version of any package. Assumption: Ubuntu Host Implemntation: Let’s start with node installation. We will use one normal… Continue Reading Install Multiple version of node on linux

Posted Date:08-05-2017 In this post we will explain dynamic dependent drop down list using html,php,mysql,ajax Dynamic Dependent dropdown list using php Step 1: Create a new file dropdown-ajax.php step 2: Create a mysql connection code inside dropdown-ajax.php <?php $host = ‘localhost’; $user = ‘root’; $pass = ”; mysql_connect($host, $user, $pass);… Continue Reading Dynamic Dependent drop down list using html,php,mysql,ajax

Posted Date:08-05-2017 In this post we will explain how to dropdown list dynamically using html,php First we explain dynamic dropdown list using php Dynamic dropdown list using php Step 1: Create a new file dropdown.php step 2:  Create a mysql connection code inside dropdown.php $mysqlserver=”localhost”; $mysqlusername=”root”; $mysqlpassword=””; $link=mysql_connect($mysqlserver, $mysqlusername, $mysqlpassword)… Continue Reading Dynamic Dependent drop down list using html,php,mysql

Scenario 1: I had setup SSH key with a passphrase  to access all my servers/machines. However, its annoying(also non-productive) to enter passpharse every time I want to ssh into another machine. Scenario 2: I want clone a git repo into another machine other from my laptop. However, that git repo… Continue Reading How to use SSH Key with passpharse for SSH forwarding

Nikto vulnerability scan for domains|Shell script to scan cPanel accounts Date Posted: 06-05-2017 Nikto is an opensource webserver scanner which helps to perform security scan on the webserver. In this post, we will explain on how to install nikto scan tool and create a script to scan cPanel accounts. Installation:… Continue Reading Nikto vulnerability scan for domains|Shell script to scan cPanel accounts