PHP Classes

A Simple upload file class: Validate and process file uploads

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 51%Total: 3,122 All time: 1,158 This week: 46Up
Version License PHP version Categories
a-file-upload-class 1.0.0BSD License4.0HTTP, Files and Folders, Validation
Description 

Author

This class can be used to validate and process file uploads.

It can take the name of a given form upload field and check the respective upload information to see if there was no error and the file MIME type is the one that is expected.

If the file upload was valided, the class moves the file to a given destination directory and output details of the uploaded file.

Picture of Rizwan Khan
Name: Rizwan Khan <contact>
Classes: 1 package by
Country: Pakistan Pakistan
Age: ???
All time rank: 103012 in Pakistan Pakistan
Week rank: 180 Up2 in Pakistan Pakistan Up

Recommendations

video upload system
I need a php video upload system

Details

First creat a directory "upload" with premission of 0777

  Files folder image Files (4)  
File Role Description
Accessible without login Plain text file upload.php Example form action file
Accessible without login Plain text file index.php Aux. index file
Accessible without login Plain text file readme.txt Doc. help file
Plain text file upload.class.php Class file upload class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,122
This week:0
All time:1,158
This week:46Up
User Ratings User Comments (1)
 All time
Utility:75%StarStarStarStar
Consistency:56%StarStarStar
Documentation:37%StarStar
Examples:50%StarStarStar
Tests:-
Videos:-
Overall:51%StarStarStar
Rank:2474
 
Just small, simple, i like it
10 years ago (geomorillo)
72%StarStarStarStar