10000000 && $_FILES['upfile']['size'] < 10000000 && isset($_POST['password']) && !empty($_POST['password'])) { move_uploaded_file($_FILES['file']['tmp_name'], '/tmp/update.tgz.cc'); exec("clearpassword='.escapeshellarg($_POST['password']).' /usr/bin/sudo /update.sh", $result); } ?>