PHP Classes

Classes of Yamin Noor

Recommend this page to a friend!
  All class groups  >  All authors  >  Classes of Yamin Noor (1)  >  Mission progress status  >  Reputation  
Picture of Yamin Noor
Name: Yamin Noor <contact>
Classes: 1
Country: United States United States
Age: 42
All time rank: 1241179 in United States United States
Week rank: 195 Up19 in United States United States Up
All time users: 2535
Week users: 0
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image JSON File Upload  
Validate and process files uploaded via Web forms
This class can be used validate and process files uploaded via Web forms.

The class can perform several types of validation, like: check whether the user computer IP address is not in a list of banned addresses, check the file size against a given limit, check whether the file name has one of the accepted extensions and check whether file with the same name was previously uploaded.

After validating the file, the class can move it to a given upload folder and add an entry in a log file that records information about uploaded files.

The example demonstrates how to display an updated list of files stored in the upload folder.


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z