Projects / Easy PHP Upload

Easy PHP Upload

Easy PHP Upload is a PHP upload class that can be used to upload files with a client browser to a remote Web server. It features the ability to upload multiple files, a file-extension check, a maximum file-size limitation, and a flexible error reporting system. The class is extremely easy to use and comes with full working examples. It is compatible with the PHP directive "register_globals=off".

Tags
Implementation

Recent releases

  •  27 Oct 2006 09:25

    Release Notes: If someone uses more then one file upload at the same time while using the rename option, there was a problem with the new name. The PHP function "sleep" takes care about unique file names. A new method was added to output some HTML code. If there is a name defined as an argument, the file field is replaced with a regular text field, as shown in the new example file "upload_db_example.php".

    •  26 Jan 2006 13:22

      Release Notes: Two more languages (for the messages) were added to the class: Brazilian Portuguese and Bulgarian. All translations (except de, nl, en, and fr) are stored in external files. The new function to create non-existing directories was not working for the photo upload extension and has been fixed. The check_dir() method is more flexible now and can be used for more locations. The process_image() method from the photo_upload extension was modified to use this check now.

      •  16 Jan 2006 01:06

        Release Notes: The class previously used the system() function to execute the chmod command. This will result in problems if the PHP directive safe_mode is activated. This release uses the chmod() function instead. It's possible to create the upload directory if it does not exist (obe level above). This is useful if you need a directory for each user. The directory will be created if the boolean $create_directory is true.

        •  16 Jan 2006 01:05

          Release Notes: The resizing process of bigger images (over 1 MB) inside the photo upload extension takes many resources. A better way is the use of ImageMagick in place of the GD library. Just switch the new boolean $use_image_magick inside the photo_upload extension. The methods img_rotate() and thumbs() are modified to be used with ImageMagick commands. You need to have access to the command line (exec() command) to use this feature.

          •  18 Nov 2005 11:50

            Release Notes: The photo upload extension was modified to make the script more intelligent. Now its possible to define a maximum limit for the x and y size. The script will automatically decide which size (x or y) is not within the limit and will resize the image. There is now more information about which variable holds the filename after the upload.

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.