PHP Classes

A Simple upload file class: Validate and process file uploads

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 51%Total: 3,119 All time: 1,158 This week: 31Up
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: 103113 in Pakistan Pakistan
Week rank: 371 Up8 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  
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

 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,119
This week:0
All time:1,158
This week:31Up
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:2372
 
Just small, simple, i like it
9 years ago (geomorillo)
72%StarStarStarStar