Files and Folders: Simple Upload
Szymon Lukaszczyk (contact me)
This class can be used to manage files uploaded via forms.
It takes the array of data of an uploaded file and can perform several types of operations like:
- Check whether there were any upload error and whether the file is a valid upload
- Clean the file name from non alphanumeric characters
- Generate random unique names for the uploaded file
- Copy or move the file to another directory
Click here for detailed information about this class on phpclasses.org