class.upload.php manages file uploads for you. 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, text labels, and watermarks or apply graphic filters such as unsharp mask, contrast or brightness correction, colorization, negative, greyscale, reflections, and more. Security features and file management functions are provided. Flash uploaders and XMLHttpRequest uploads are supported. The class can also work on local files, is 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. It is compatible with PHP 4 and 5.