diff --git a/gui/index.php b/gui/index.php index 1667f5b..5fa8dc0 100644 --- a/gui/index.php +++ b/gui/index.php @@ -1,16 +1,61 @@ (time() + 180*3600)) { + die("The time was too far in the future, 180 days max"); + } + + // SANITY CHECK ALL POST VARS HERE + + if ( $pred_software == $software_available[0] ) { // using grib + // + } else if ( $pred_software == $software_available[1] ) { // using dap + // + } else { + die("We couldn't find the software you asked for"); + } +} + ?>
-