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".
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.
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.
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.
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.
Release Notes: In this version, it's possible to use the rename function (timestamp) inside the multiple upload extension. In the same extension, the filenames are are validated. A small bug in the regex pattern has been fixed. Check the modified method upload_multi_files() and the new variables.
Release Notes: A custom name for the uploaded file may now be defined. The following methods were updated: error_text(), upload(), heck_file_name(), and existing_file(). The set_file_name() method was added.