if (isset($_FILES['cAttachfile'])) {
if (is_uploaded_file($_FILES['cAttachfile']['tmp_name'])) {
if (move_uploaded_file($_FILES['cAttachfile']['tmp_name'],"./attachfiles1/".$mID."_".$_FILES['cAttachfile']['name'])
) {
chmod("./attachfiles1/".$mID."_".$_FILES['cAttachfile']['name'],0777);