Upload multiple images with live preview using jQuery, Ajax, and PHP
Posted in Ajax HTML JavaScript jQuery PHP

Upload multiple images with live preview using jQuery, Ajax, and PHP

Uploading files to a server is a common functionality of any web application. All of us know that HTML 5 allows us to upload multiple images using a single input. But how it actually works maybe you do not know. Also,…

How to backup or export MySQL database using PHP
Posted in MySQL PHP

How to backup or export MySQL database using PHP

Import and export of data to and from any database is a common task of any website development. By exporting databases we secured our application from any kind of data loss. Sometimes, we need to develop our own custom PHP code to…

How to generate PDF file using PHP and MPDF
Posted in PHP

How to generate PDF file using PHP and MPDF library

There are several situations when a single PDF (Portable Document Format) is the most perfect solution for any digital document. For example, generate an invoice or generate an ebook in PDF files. Using PHP you can create dynamic PDF files…

How to change the maximum upload file size in PHP
Posted in PHP Uncategorized

How to change the maximum upload file size in PHP

Hi friends, in this tutorial, I will help you to solve the upload_max_filesize and post_max_size issue. There are many ways to solve the upload file size problem. We will discuss these options one by one to increase file upload size. Let’s see how…

How to get the current page name using PHP
Posted in PHP

How to get the current page name using PHP

Hi friends, sometimes we are facing such a situation where we have to get the current page name from the URL. Then based on the current page name we performed specific tasks for that page only. So, in this tutorial,…

How to download youtube videos using PHP script
Posted in PHP

How to download youtube videos using PHP script

Hi friends, you all know that Youtube is the most popular video sharing website where you can view, upload and share the videos online, but you can not download the videos for offline uses. However, if you want to see…

Simple way to generate random password using php
Posted in PHP

Simple way to generate random password using php

In this tutorial, I will show you how to create or generate random password using PHP. It is better to use random password rather than using your date of birth or name or email id as password which can be…

Create image CAPTCHA using PHP and validate using JavaScript
Posted in JavaScript PHP

Create image CAPTCHA using PHP and validate using JavaScript

Create image CAPTCHA using PHP and validate using JavaScript. We all encountered such a situation when we have to enter a captcha in the form. Captcha is used to prevent spam injection on the website through your form.  So, if you…

How to get data from database in JSON format using Ajax and PHP
Posted in Ajax JSON PHP

How to get data from database in JSON format using Ajax and PHP

A very common use of JSON is to read data from a web server and then display these data into a web page. JSON is text, so when we want to exchange text as data between a browser and web…

How to insert JSON data into MySQL database using PHP
Posted in JSON PHP

How to insert JSON data into MySQL database using PHP

In this tutorial, I will show you how to insert JSON data into MySQL database using PHP. In JSON file we can store huge amount of data in an array format. So that, sometimes you need to store these JSON data…