Files and Directories

Recent Tutorial

PHP Image Upload with Size Type Dimension Validation

March 8, 2018
File upload feature requires basic validations to sanitize the user input. There is a huge chance of exploiting a file upload option with malicious intent. Improper implementation of a file upload input increases security vulnerability. We need to validate the uploaded files before saving them on the server to reduce the vulnerability. View Demo I […]
This tutorial was added to PHP.

PHP Image Upload using TinyMCE Editor

February 12, 2018
TinyMCE is the popular WYSIWYG HTML Editor. It stands for Tiny Moxiecode Content Editor. It supports text formatting, image upload and modification, table insert and more features. TinyMCE rich text editor allows uploading images from various sources. It has input options to paste the image source URL, to select images from the clipboard and choose […]
This tutorial was added to PHP.

Array to XML Conversion using PHP

January 30, 2018
When there is a necessity to serialize a PHP array, it can be converted to XML, store and also may be transmitted. In that process, the key/element pairs are converted into structural nodes. The XML nodes are created in the name of the keys and the array element is added as the child to this […]
This tutorial was added to PHP.

Insert XML Data to MySql Table

January 19, 2018
Programmatically importing XML data into a MySQL database will be handy in many a situations. In this tutorial, we are going to learn how to insert data from XML file to the database using PHP. The XML nodes are considered as the columns of the database table and so the data of each node are the […]
This tutorial was added to PHP.

PHP Image Upload Using DropzoneJs

January 2, 2018
In this article, I will walk you through to implement image upload using DropzoneJS. It provides a nice and flexible interface it to the user. It allows the user to upload files by using drag and drop. Also, it allows the users to explore the files and folders for choosing files to be uploaded via Dropzone. […]
This tutorial was added to PHP.

Twitter Like Profile Image Upload using jQuery AJAX

April 10, 2017
Twitter-like social media websites provide the photo upload feature with a list of action bar items, related to the upload process. These actions may be Insert New Photo, Update Photo, Cancel Upload or Remove Photo. On clicking the upload photo link, these options are shown to the user in a floating HTML element by using […]
This tutorial was added to PHP.

Pause Resume File Upload using JavaScript

April 7, 2017
In this tutorial, we are going to see how to implement file upload with pause and resume options using FineUploader. These options will be useful when you upload large size files consuming time to move it to the target. In that cases, the ongoing file upload process can be paused and resumed. FineUploader is a nice […]
This tutorial was added to PHP.

Multiple File Upload using Fine Uploader

March 31, 2017
In this tutorial, we are going to see how to upload multiple files using PHP. I am using “Fine Uploader” a JavaScript, open source and free library. Also, fine-uploader has no dependencies. It is simple and easy to understand. It shows a progress bar during upload and preview for the uploaded files in a gallery form.  Using this […]
This tutorial was added to PHP.

Generate PDF from MySQL Data using FPDF

June 8, 2015
In this tutorial, we are going to see how to generate PDF from MySQL table by using FPDF library. In a previous tutorial, we have seen about simple PDF generation from a text file content by using this library. In this example, we read MySQL table data by using PHP. And then we are calling […]
This tutorial was added to PHP.

PHP PDF Generation using FPDF

May 25, 2015
In this tutorial, we are going to generate PDF from text file data using PHP FPDF library. In this library, there are features to add PDF page, set font, create grid and more. In this example, we are having a text file containing toys detail. We are reading this file content and show it in […]
This tutorial was added to PHP.

↑ Back to Top