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

Date Posted: 04-05-2017 We are getting continuous 500 internal server on our php-fpm/fcgi apache server. The log reports the following error [Day Month xx 10:09:14.269068 2017] [fastcgi:error] [pid 1422] [client xx.xx.xx.xx:59020] FastCGI: incomplete headers (0 bytes) received from server “/usr/lib/cgi-bin/php7-fcgi” [Day Month  xx 10:09:46.864781 2017] [fastcgi:error] [pid 1690] [client xx.xx.xx.xx:59021] FastCGI: comm with server… Continue Reading FastCGI: comm with server “/usr/lib/cgi-bin/php7-fcgi” aborted: idle timeout

Create User and login without password(passwordless authentication)|Private/Public Key Based Authentication Date Posted:04-05-2017 Using password based login is always security risk. Incase if the password is known to others then it will be easy for them to access the machine. To overcome this situation, its always good to create a user… Continue Reading Create User and login without password(passwordless authentication)

Install Apache with php-fpm on Ubuntu 16 Date Posted:03-05-2016 Php-fpm is a FastCGI Process Manager which is faster to serve php when compared to mod_php. In this post, we will explain on how to install Apache with php-fpm on Ubuntu 16 host. Implementation: Let’s Start with apache2 installation. apt-get install… Continue Reading Install Apache with php-fpm on Ubuntu 16

What is Vagrant? Vagrant is an open-source virtualization manager, used for managing VM(Virtual Machine) and their configurations with few commands. It is supported by VirtualBox, Docker, Hyper-V as well as VMWare virtualization. Vagrants helps managing the configurations of VM created using any of the mentioned virtualization. Its available for Mac OS X,… Continue Reading Simple guide to start using Vagrant with VirtualBox

Python Script to take backup of folder on Amazon s3 – Windows Date Posted:17-04-2017 Amazon S3 is a storage where we can store files in a cloud. We can download the files from anywhere after we stored the files on cloud. There are many way to store the files on… Continue Reading Python Script to take backup of folder on amazon s3 – Windows

Working with Git Date Posted:16-04-2017 Git is a version control system designed to handle small projects to large projects in a effective way. This post explains on how to use git commands and how to handle git repositories,etc., Git Repositories: Git repositories are the location where you can store the… Continue Reading Working with Git commands and Repositories