views:

201

answers:

4

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.

+4  A: 

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)

Michael Johnson
+2  A: 

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.

da5id
A: 

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

Paul Wicks
There is no Zend_Http class really. Do you mean Zend_File_Transfer?
Till
+1  A: 

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

CMS