AJAX File Upload using Codeigniter, jQuery

Introduction I will show you an example on Ajax file upload using Codeigniter jQuery without page refresh. This file upload tutorial example is very helpful to implement the upload functionality. In this example the file is selected using the browse button and file is uploaded to the uploads directory. Codeigniter controller stores the file into the specified location and returns response…

AJAX File Upload using PHP, jQuery

Introduction I will show you how to upload a file using PHP, AJAX and jQuery without page refresh. This file upload tutorial example is very helpful to implement the upload functionality. In this example the file is selected using the browse button and file is uploaded to the uploads directory. PHP script stores the file into the specified location and…

Codeigniter 3 MySQL Online Visitor Tracking System

Table of Contents Introduction Prerequisites Project Directory Autoload Configuration Encryption Key Creating Library Creating Hooks Hooks Configuration Database Configuration MySQL Table Inserting Data Model Controller View File Defining Route Static Resources Testing Visitor Tracking System Source Code Introduction Every website owner would like to know the progress to the count of the online visitors because it gives them overall idea…

Dynamically Generate Months In PHP

Introduction Sometimes you may need to select month value from drop-down or select option box and for that you hardcode the month values in HTML option fields. It is possible to dynamically generate month values using PHP and you can use those generated month values in HTML select option tag. This way you do not need to hardcode the month values and…

Dynamically Generate Years In PHP

Introduction Here in this example I am going to show you how to generate years in PHP language. Sometimes you may need to select year value from dropdown or select/option field and for that you hardcode the year values in HTML option fields. It may be cumbersome at the point when you want to add a new year value to the option…

Spring Boot MVC JdbcTemplate CRUD Example

Introduction The primary motivation behind developing Spring Boot is to simplify the process for configuring and deploying the spring applications. Spring Boot will get rid of all the fuss involved on configuring the dependencies for building the enterprise applications. In Spring based applications, configurations are loaded with a bunch of XML files, now these configurations should not be maintained in…

Spring MVC and JDBC CRUD with zero XML

In my other tutorials Spring MVC CRUD example with JDBC Spring MVC and Spring JDBC Example ,  Spring MVC and JDBC CRUD Example  I have used XML configurations but in this tutorial I have used only Annotation, so it means it uses zero XML configurations. This example shows how MVC(Model, View, Controller) works in Spring 4.x. In this tutorial you will also…

Nested Comments using Codeigniter, AJAX

Introduction Here you will see how to create nested comments using Codeigniter AJAX MySQL. In my previous tutorial I have shown how to create Nested comment system in PHP, AJAX. Here I am going to show you how to do the same thing but using Codeigniter 3, MySQL and AJAX.

Jenkins: Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref

Introduction In this post I will show you how to resolve error on Jenkins: detecting the current branch failed: fatal: ref HEAD is not a symbolic ref. Note that I am using Jenkins version 1.651. If you have different version of Jenkins then this solution may now work.

Spring MVC Multiple Files Upload Example

In my previous tutorial I had shown Spring MVC Single File Upload Example. In this tutorial I am going to show an example on how to upload multiple files using Spring MVC. I am going to use Spring Boot framework to upload multiple files. I am using Thymeleaf as a template file for displaying UI (User Interface). I have put…