if (empty($_FILES))
{
// no files uploaded message here
}
else
}
// use the Upload class to process them
}
and don't forget you'll have to check the errors from the Upload class to... if (! empty($_FILES['field']['tmp_name'])
{
// Do something.
}
It looks like you're new here. If you want to get involved, click one of these buttons!