Class PHP Upload
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. Security features and file management functions are provided. XMLHttpRequest is 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. The class is mature and well documented, already widely used around the world. It is compatible with PHP 4 and 5.