Pages

Uploading of files

Using class.upload.php from Colin Verot
$uploadedImage = new Upload($_FILES['uploadImage']);

if ($uploadedImage->uploaded) {
 $uploadedImage->Process('myuploads');
 if ($uploadedImage->processed) {
  echo 'file has been uploaded';
 }
}

No comments:

Post a Comment