Re: Upload.class preg_match() in PHP 7.4

See all posts Reply

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
Re: Upload.class preg_match() in PHP 7.4 new!
by colin, 1 year, 10 months ago
0.32 is not the latest version. You can find the latest versions on Github.Reply