Reply to Re: Upload.class preg_match() in PHP 7.4

Re: Upload.class preg_match() in PHP 7.4 new!
by Raza, 1 year, 10 months ago
Dear Sir,
I am using latest version of File upload class class.upload.php, Version : 0.32.

I am getting error in PHP 7.4

1) Warning: preg_match(): Compilation failed: invalid range in character class at offset 8 in /inc/class.upload.php on line 2900

2) Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; upload has a deprecated constructor in inc/class.upload1.php on line 606

3) and also curly Braches is depreciated on function function getsize($size) {

Please help me to fixedReply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important