search
HomePHP LibrariesOther librariesPHP file upload processing class
PHP file upload processing class
<?php
 *
 * @author    Colin Verot <colin@verot.net>
 * @license   http://opensource.org/licenses/gpl-license.php GNU Public License
 * @copyright Colin Verot
 */
class upload {
    /**
     * Class version
     *
     * @access public
     * @var string
     */
    var $version;
    /**
     * Uploaded file name
     *
     * @access public
     * @var string
     */
    var $file_src_name;
    /**
     * Uploaded file name body (i.e. without extension)
     *
     * @access public
     * @var string
     */

File uploading is a common function in project development, but the process of file uploading is relatively cumbersome. As long as there is a file uploading place, these complex codes need to be written. In order to reduce the difficulty of writing functions in each development and to save development time, we usually encapsulate these repeatedly used pieces of code into a class. This class library is such a convenient library.

Disclaimer

All resources on this site are contributed by netizens or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this site are for learning reference only. Please do not use them for commercial purposes. Otherwise, you will be responsible for all consequences! If there is any infringement, please contact us to delete it. Contact information: admin@php.cn

Related Article

Usage analysis of CI framework file upload class and image processing class, ci file upload_PHP tutorialUsage analysis of CI framework file upload class and image processing class, ci file upload_PHP tutorial

12Jul2016

CI framework file upload class and image processing class usage analysis, ci file upload. Usage analysis of CI framework file upload class and image processing class, ci file upload This article describes the usage of CI framework file upload class and image processing class with examples. Share it with everyone for your reference, as follows:

PHP file upload back-end processing tips, _PHP tutorialPHP file upload back-end processing tips, _PHP tutorial

12Jul2016

PHP file upload back-end processing tips. Tips for back-end processing of PHP file uploads. This article will talk about some tips for back-end processing of PHP file uploads! Business scenario 1. We will only select a single file to upload.

Very classic PHP file upload class sharing, _PHP tutorialVery classic PHP file upload class sharing, _PHP tutorial

12Jul2016

A very classic PHP file upload class for sharing. A very classic PHP file upload class for sharing. File upload is a common function in project development, but the file upload process is relatively cumbersome. As long as there are files uploaded, you need to edit them.

Complete example of PHP file upload class, _PHP tutorialComplete example of PHP file upload class, _PHP tutorial

12Jul2016

Complete example of PHP file upload class. A complete example of the PHP file upload class. The example in this article describes the PHP file upload class. Share it with everyone for your reference, the details are as follows: /**$file=new class_file($file_array,"flash/"); $file-se

Detailed explanation of PHP file upload class examples, _PHP tutorialDetailed explanation of PHP file upload class examples, _PHP tutorial

12Jul2016

Detailed explanation of PHP file upload class examples. Detailed explanation of PHP file upload class examples. This article describes the PHP file upload class examples. Share it with everyone for your reference, the details are as follows: Here is a demonstration of the FileUpload.class.php file upload class, in which

Multi-file upload class implemented in PHP and usage examples, _PHP tutorialMulti-file upload class implemented in PHP and usage examples, _PHP tutorial

12Jul2016

Multi-file upload class implemented in PHP and usage examples. Multi-file upload class and usage examples implemented in PHP. This article describes the multi-file upload class and usage examples implemented in PHP. Share it with everyone for your reference, the details are as follows: 1. upFiles.css.php

See all articles