verot / class.upload.php

This PHP class uploads files and manipulates images very easily. It is in fact as much as an image processing class than it is an upload class. Compatible with PHP 4, 5, 7 and 8. Supports processing of local files, uploaded files, files sent through XMLHttpRequest.
http://www.verot.net/php_class_upload.htm
GNU General Public License v2.0
853 stars 359 forks source link

Deprecation php8.2 #174

Closed nGuindet closed 1 year ago

nGuindet commented 1 year ago

I have this deprecation with php 8.2

Creation of dynamic property Verot\Upload\Upload::$file_max_size_raw is deprecated [in vendor\verot\class.upload.php\src\class.upload.php, line 1765

need to add

/**
 * Value of <i>upload_max_filesize</i> from php.ini
 *
 * @access public
 * @var string
 */
var $file_max_size_raw;
verot commented 1 year ago

Please use the latest version, it has been fixed in 577a2959c

nGuindet commented 1 year ago

Please use the latest version, it has been fixed in 577a295

Thanks, i don't see it on last tagged version and just post an issue ^^

verot commented 1 year ago

I have added a tag, you should now get the latest version