This class can be used to process files uploaded via Web forms.
It checks a given uploaded file and performs several checks before processing it like: checking the file name against a black list of banned names, check if the file already exists in a target directory, check whether the file size is not zero nor exceeds and given limit, check the MIME type against a list of accepted types, check the file name extension against a list of accepted extensions.
Then the class processes the file by moving it to a target directory. If it succeeds, the class returns an array with several details about the file.
| Ratings | Utility |
Consistency |
Documentation |
Examples |
Tests |
Videos |
Overall |
Rank |
| All time: |
Sufficient (62.5%) |
Not sure (56.3%) |
Not sure (56.3%) |
Sufficient (62.5%) |
- |
- |
Not sure (48.8%) |
1391 |
| Month: |
Not yet rated by the users |
| Link |
Description |
| Form field security issues |
If the files stopped appearing 3 months after you removed the contact form then it's very possible that it wasn't the cause of the issue... |
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| File |
Role |
Description |
upload.class.php |
Class |
Safe Upload class source file |
Docs |
Doc. |
Documentation of Safe upload |
example.php |
Example |
Example of usinf safe upload |