Wednesday, December 3, 2008

Uploading a file

$uploadedImage = new Upload($_FILES['uploadImage']);

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

No comments: