Tag : ZipArchive



PHP - How to create zip file and download using ZipArchive ?

Today, i am going to share with you how to create zip file using ZipArchive then give for download. So here i will give you very simple example to do this. We may require to create zip archive file using php code. We need to add some photos, docs etc on that zip file then give download. So here i am going to make very simple function createZip() that will help to create zip archive file. Using this function you have to simple pass array of file, docs, picture with path. So here i make very simple index.php file and you have to just copy that and run it. Make sure you have two image file sho.....

By Hardik Savani | September 24, 2017 | | 3799 Viewer | Category : PHP
READ MORE

    Laravel 5 - Simple CRUD Application Using ReactJS - Part 1

    Laravel 5 - Simple CRUD Application Using ReactJS - Part 1

    Open Post

    PHP Laravel 5 - Sub-domain routing file Example

    PHP Laravel 5 - Sub-domain routing file Example

    Open Post

    How to integrate paypal payment gateway with laravel 5.4

    How to integrate paypal payment gateway with laravel 5.4

    Open Post

    Laravel 5.2 API using JWT authentication tutorial from scratch example

    Laravel 5.2 API using JWT authentication tutorial from scratch example

    Open Post

    Laravel 5.5 - Validation Data Return - New Feature

    Laravel 5.5 - Validation Data Return - New Feature

    Open Post

    Simple PHP Ajax Form Validation Example from scratch

    Simple PHP Ajax Form Validation Example from scratch

    Open Post