Reply to Re: Array of standard Mime document

Re: Array of standard Mime document new!
by Cedric, 13 years, 11 months ago
if ($lang = 'fra') $locale = 'fr_FR';
if ($lang = 'eng') $locale = 'en_EN';
if ($lang = 'deu') $locale = 'de_DE';
$doc = $_FILES['userfile']['name'];
$path = "modules/Samples/files/$folder/";
$handle = new upload($_FILES['userfile'],$locale);
if ($handle->uploaded) {                      
  $handle->mime_check = true;
  $handle->file_safe_name = true;
  $handle->file_overwrite = true;
  $handle->process($path);
  if ($handle->processed) {
    echo 'file uploaded';
    $handle->clean();
  } else {
    echo 'error : ' . $handle->error;
  }
}


nothing in the log...

Tried to purchase your software, is it the same as giving money.
You send the invoice after?Reply

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