Projects / class.upload.php


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.

Operating Systems

RSS Recent releases

  •  15 Jan 2013 01:39

    Release Notes: This release adds full support for XMLHttpRequest uploads, the ability to pixelate images, and many small fixes.

    •  11 Apr 2011 21:42

      Release Notes: Several transparency options have been added when uploading images. Handling of dangerous files and extensions has been improved.

      •  05 Sep 2010 22:25

        Release Notes: New features and bugfixes. An unsharp mask has been implemented, transparent watermarks are dealt with better, and it is now possible to resize the watermark depending on the picture.

        •  05 Feb 2010 12:19

          Release Notes: New features and bugfixes were made. The class is now compatible with PHP 5.3. MIME detection is stronger and more documented. Malicious images cannot be uploaded.

          •  11 Aug 2009 06:59

            Release Notes: The class is now compatible with PHP 5.3. MIME detection is stronger and better documented. Safe mode handling has been improved.


            Project Spotlight


            A portable C implementation of the JBIG1 standard.


            Project Spotlight

            Science Girls!

            Aliens have invaded your school, and it's up to the girls of the Science Club to save the day.