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 Software Development Libraries php classes Internet Web Dynamic Content
Implementation PHP

Tweet this project Short link

Rss Recent releases

  • Rrelease-mid
  •  27 Oct 2006 02:25
  • Rrelease-after

Changes: 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".

  • Rrelease-mid
  •  26 Jan 2006 05:22
  • Rrelease-after

Changes: 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.

  • Rrelease-mid
  •  15 Jan 2006 17:06
  • Rrelease-after

Changes: 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.

  • Rrelease-mid
  •  15 Jan 2006 17:05
  • Rrelease-after

Changes: 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.

  • Rrelease-mid
  •  18 Nov 2005 03:50
  • Rrelease-after

Changes: 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.

No-screenshot

Project Spotlight

jsVortex

A Javascript BEEP implementation.

No-screenshot

Project Spotlight

pdfrecycle

A program that creates a PDF file by composing pages from other PDF files.