diff --git a/Unit_testing/check_minimum_requirement.php b/Unit_testing/check_minimum_requirement.php new file mode 100644 index 0000000..399ad7d --- /dev/null +++ b/Unit_testing/check_minimum_requirement.php @@ -0,0 +1,52 @@ + + +
+ +Results may take a few seconds to appear…
+ +Missing password, please return to the login page and try again.
'; + $continue = false; +} + +if ( $continue ) +{ + $serviceID = "isorcl-400"; + $username = $_POST['username']; + $password = $_POST['password']; + + $outputMode = 'HTML'; + $verbosity = 2; + $runMode = 'student'; + + require_once 'test.php'; +} +else +{ + echo 'Redirecting you back to the login page…
'; + header( "refresh:7;url=student_login.html" ); +} +?> +