From de66c10e9fa7f3df5d396c81008b8176b834d4f1 Mon Sep 17 00:00:00 2001 From: jonsowman Date: Sat, 29 May 2010 00:04:59 +0100 Subject: [PATCH] sorted out automatic form population with PHP --- index.php | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/index.php b/index.php index efbfd43..9604749 100644 --- a/index.php +++ b/index.php @@ -6,7 +6,9 @@ // 4. start ajax server poller // 5. display the prediction data when run is complete // 6. make the ini and the csv/kml available for download -$time = localtime(time(), true); +// +// get the time for populating the form +$time = time() + 3600; $form_submitted = 0; $software_available = array("gfs", "gfs_hd"); @@ -332,26 +334,26 @@ function parseCSV(lines) { Launch Time: - " maxlength="2" size="2"> : - " maxlength="2" size="2"> + " maxlength="2" size="2"> : + " maxlength="2" size="2"> Launch Date: - + " maxlength="2" size="2"> - + " maxlength="4" size="4"> Ascent Rate (m/s):