From dddd608ad72be9762c5a1addcb4cb2deb8bf6446 Mon Sep 17 00:00:00 2001 From: jonsowman Date: Thu, 27 May 2010 21:34:11 +0100 Subject: [PATCH] before moving all to workingdir --- gui/index.php | 80 +++++++++++++++++++++++++++++++++++++-------- one_off_prediction | Bin 0 -> 61346 bytes 2 files changed, 66 insertions(+), 14 deletions(-) create mode 100755 one_off_prediction 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"); + } +} + ?> - GUI test + CUSF Landing Prediction 2 - GUI test