#!/usr/bin/perl -w
#process_mvco_request.pl
#Process the MVCO user request(s) for plots, downloads, etc.
# (Based on the process_ship_questionnaire.pl script)
$version = "V1.00/July 10, 2001";
#print STDERR ("**debug, $0 $version\n");
# July 10, 2001 V1.00 Bob Groman
$debug = 'yes';
$error="
&x ";
$warning="
#";
$| = 1;
print <Processing Martha's Vineyard Coastal Observatory Data Request
Processing Martha's Vineyard Coastal Observatory Data Request
BEGIN
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst)=localtime(time);
if ($year > 97 and $year < 100 ) {$year = $year + 1900; }
$mon++;
if ($mon < 10) { $mon = "0" . $mon; }
if ($mday < 10) {$mday = "0" . $mday; }
if ($hour < 10) { $hour = "0" . $hour; }
if ($min < 10) { $min = "0" . $min; }
if ($sec < 10) { $sec = "0" . $sec; }
undef $isdst;
undef $wday;
&get_web_form_data ;
&process_request;
print STDOUT ("
Script process_mvco_request.pl Version: $version\n