Create excel file using Apache POI in Java

With this example we will show you how to create an excel file using Apache POI in Java language. The Apache POI is to create and maintain Java APIs for manipulating various file formats based upon the Office Open XML standards (OOXML) and Microsoft’s OLE 2 Compound Document format (OLE2). You can read and write MS Excel files using Java….

Codeigniter Transaction Example

Introduction Here I am going to explain how to work with transaction in Codeigniter 3 framework or how you can use transaction in Codeigniter based web application. Transaction is an important part of persistence storage system because you may save, update or delete data from persistence storage any time. When you perform execution of multiple SQL statements across different database…

HighChart using AJAX, Codeigniter

It is known that high chart basically displays different statistical data on different chart types such as column chart, bar chart, line chart, pie chart etc. You can have a look at the URL http://www.highcharts.com/ for more information. You can integrate highchart with any server side tehnology but here I will show you how to integrate highchart with Codeigniter framework….

HighChart using AJAX, JSP and Servlet

We know that HighChart basically displays different statistical data on different chart types such as column chart, bar chart, line chart, pie chart etc. You can have a look at the URL http://www.highcharts.com/ for more information. You can integrate HighChart with any server side technology but here I will show you how to integrate HighChart using AJAX, JSP and Servlet….

XChart using AJAX, JSP and Servlet

We know that xchart basically displays different statistical data on different chart types such as column chart, bar chart, line chart, pie chart etc. You can have a look at the URL http://tenxer.github.io/xcharts/ for more information. You can integrate xchart with any server side technology but here I will show you how to integrate xchart using AJAX, JSP and Servlet….

Get correct IP address using PHP

This tutorial will show you how you can correct IP address of a user who is visiting your website. If you work on PHP applications; sooner or later you are going to need to get the end user’s IP address. We use to get the IP address using get $_SERVER[‘REMOTE_ADDR’]. Today it is not so easy to get the actual…

Get MIME Type From File Extension Using PHP

MIME Type This tutorial will show you how you can get MIME type of a file using PHP program. Most of the times you may need to validate or check MIME type of a file when you upload a file for various reasons, such as, for KYC (Know Your Customer) purpose. In this tutorial I have defined an array which…

Force download a file using PHP

A force-download script can give you more control over a file download than you would have providing a direct link that may be the good thing for most of the time to read it online. But sometimes it can be very frustrating to click on a link to a document you want people to read, and then have to wait…

MySQL Database Backup using PHP

In this tutorial I am going to show you how to take MySQL database backup using PHP programming language. In the world of web it is important to take backup of our site and database frequently. You never know when you would come across unexpected error that may cause your site stop working. Here I will show you in PHP…

JSP Servlet Login Logout with Remember Me

Introduction This tutorial, jsp servlet login logout with remember me, will show you how to login to an application with remember me functionality. Sometimes we need to remember username and password for few days or months or years so that next time onwards a user can login without entering the username and password into the input fields. The username and…