Question

I am looking to use a PHP library for uploading pictures to a web server so that I can use something that has been tested and hopefully not have to design one myself. Does anyone know of such a library?

Edit: I am aware that file uploads are built into PHP, I am looking for a library that may make the process simpler and safer.

Was it helpful?

Solution

I personally use HTTP_Upload from PEAR. It works pretty well for our purposes (uplaoding media files into a development system and uploading arbitrary files for an educational system)

OTHER TIPS

The cunningly name upload class is very good and has a very responsive and supportive developer. Apart from uploading, it also has built-in support for lots of common image functions.

The Zend Framework has classes for everything under the sun, including file uploads. Check out the Zend_HTTP class for what you want.

Check this example of SWFUpload, the source code is available in PHP.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top