PHP Classes

File: example/index2.php

Recommend this page to a friend!
  Classes of Muhammad Umer Farooq   PHP File Manipulation Class   example/index2.php   Download  
File: example/index2.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP File Manipulation Class
Manipulate files and directories in several ways
Author: By
Last change: Apply fixes from StyleCI
Date: 4 years ago
Size: 753 bytes


Class file image Download
use Lablnet\Files;

$files = new Files();

if (isset(
$_POST['submit'])) {
//File Upload
$status = $files->filesUpload($_FILES['file'], '/', 'image', count($_FILES['file']['name']));
    foreach (
$status as $key => $value) {
<!DOCTYPE html>
        <title>PHP File Manipulation Class Examples</title>
            <legend>File Upload</legend>
                <form id="fileUp" name="fileUp" action="" method="post" enctype="multipart/form-data">
                        <input type="hidden" name="usage" value="upl" />
                        <input type="file" name="file[]" multiple/>
                        <input type="submit" name="submit">