This class is meant to validate and manage files uploaded via Web forms.
Its features in the current release are:
- File name extension validation to accept only files with a given list of extensions
- Check whether the files exceeds the given size limit
- File extension validation
- Flexible error reporting system
- Check if a directory and/or file exist
- Multiple file upload (with filename validation, new in version 2.24)
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (95.6%)
Good (91.2%)
Good (83.1%)
Good (93.8%)
-
-
Sufficient (74.6%)
69
Month:
There are not enough user ratings to display for this class.
It is the ideal class to quickly integrate file upload and image manipulation in your site. That's all you need for a gallery script for instance.
It manages the uploaded file and allows you to do whatever you want with the file as many times as you want. If the file is an image, you can convert and resize it, rotate it, crop it in many ways; You can also add borders, frames, bevels, add of text labels and watermarks or apply graphic filters such as unsharp mask, contrast or brightness correction, colorization, negative, greyscale, reflections and more. Transparency and true color are fully supported. JPEG, PNG, GIF and BMP are supported.
Security features and file management functions are provided. Flash uploaders are supported. The class can also work on local files, useful for batch processing, and can circumvent open_basedir restrictions. Files can be output directly to the browser. The error messages are internationalized, and translations provided. Flash uploaders and XMLHttpRequest uploads are supported.
The class is mature and well documented, already widely used around the world. It is compatible with PHP 4 and 5.
This class can be used to handle files that are uploaded to a server via Web forms.
It supports applying upload filters to restrict the files that are accepted according to configurable criteria like: file name extension, MIME type, file size, width and height in case the files are images.
It also supports handling uploads of multiple files.
It can also add prefixes to the uploaded file names, giving unique names or changing the file name extension for security reasons.
This class is meant to assist in the management of files uploaded via Web forms.
It provides means to copy the uploaded files a separate folder. If the files are images in the GIF, PNG or JPEG format, it may also generate thumbnails by rescaling the uploaded images.
a basic upload script.. You can also resize the uploaded image and create thumbnails with that image
Class to upload a file and, for images, create the
This class was created to simply manage images and other types of files. For image files it can create their thumbnails. The class returns the full path of a file to store it in a a database MySQL.
Questa classe e' nata per semplificare l'upload di immagini e file e, nel caso delle immagini, create le miniature in automatico. Restituisce i percorsi completi ai file e alle miniature per in modo da poter facilmente archiviarli in un dbms come MySQL.
The Upload class is a wrapper for uploading files using html forms.
The Upload class is a wrapper for uploading files using html forms. The form should have the 'enctype="multipart/form-data"' attribute for this the files to be uploaded properly. The Class should be created by passing $HTTP_POST_FILES as the only argument for the constructor (e.g. $upload = new Upload(&$HTTP_POST_FILES)), and also by reference (the & indicates this). See http://www.sloppycode.net/sloppycode/PHP/cm13.html for the manual.