Reply to preg_match() error line 2993

preg_match() error line 2993 new!
by MrPhi, 7 years ago
My code:

include 'class.upload.php';

$handle = new upload('images/Capture.jpg');
$handle->image_resize          = true;
$handle->image_ratio_y         = true;
$handle->image_x               = 600;
$handle->jpeg_quality			= 90;

$handle->Process('./images/test/');

if ($handle->processed) {
  echo 'ok';
  // $handle->Clean();
} else {
  echo 'error : ' . $handle->error;
}

I got this error:

Warning: preg_match(): Compilation failed: invalid range in character class at offset 7 in D:\UniServerZ_12\www\vidu\crop\class.upload.php on line 2993 Warning: preg_match(): Compilation failed: invalid range in character class at offset 7 in D:\UniServerZ_12\www\vidu\crop\class.upload.php on line 3011

How to fix itReply

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