Create ZIP file with password – PHP

To create a ZIP file with password in PHP, there isn’t any need for third-party library. PHP provides a large variety of built-in functions to create a ZIP file. Also PHP has an in-built option for setting the password on ZIP files. We will creating a simple script to allow user to upload multiple files, …

AJAX file upload with progress bar – Javascript, PHP

In this tutorial, we are going to show you how you can upload file with AJAX. We will also be displaying a progress bar. We will be using PHP. AJAX file upload with progress bar There are 2 types of progress bars, one with infinite progress loop similar to this: and one which shows the …

Get data from database using AJAX, Javascript, PHP, MySQL

By the end of this tutorial, you will be able to get data from database using AJAX using simple Javascript (no jQuery). Benefits of using AJAX are: Where AJAX is used ? Google Earth When you scroll in Google Earth, an AJAX request is sent to get the images of new location. Facebook When you …

How to resize an image without stretching – PHP

In order to resize an image without stretching, we will be calling built-in functions of PHP. No third party library will be used in this tutorial. Resizing an image without stretching involves setting the new dimension of an image. You cannot decide both (width & height) of an image in order to resize without stretching. …

Send dynamic email from HTML & CSS template – PHP

By the end of this tutorial, you will be able to send a dynamic email in PHP. Along with any beautifully designed template in HTML, CSS or Bootstrap. We will be using the template named “Invoice” from this website:https://www.dyspatch.io/resources/templates/airmail/ It’s a pretty basic template and great to learn.After downloading the template, you will see something like this: …

How to upload single and multiple images in iOS Swift, PHP and MySQL

In this article, we will discuss how you can upload single or multiple images from your iOS app in Swift, and save them in the MySQL database. Solution for Swift UI If you are developing your app in Swift UI, please follow this post. When developing iOS applications, one of the most common features in …