<html>
    <head>
        <title>Manual Update</title>
    </head>
    <body>
    <?php
        if(isset($_POST['submit']))
        {
		exec('cmd /c Update.bat', $output);
		print_r($output);
            echo "Done!";
        } else {
            // display the form
    ?>
    <form action="" method="post">
    <input type="submit" name="submit" value="DO IT!">
    </form>
    <?php
        }
    ?>
    </body>
</html>