#!/usr/bin/perl -Tw
-# $Id: sets.cgi,v 1.3 1999-04-22 05:58:06 ivan Exp $
+# $Id: sets.cgi,v 1.4 1999-04-22 06:06:16 ivan Exp $
# Copyright (c) 1999 Ivan Kohler. All rights reserved.
# This program is free software; you can redistribute it and/or modify it under
# the same terms as perl itself
$cgi->param( $field, $1);
}
}
+ $cgi->param('FILESIZE', 0);
+ $cgi->param('DOWNLOADS', 0);
+
my $statement = "INSERT INTO $table ( ".
join(', ', @fields ).
' ) VALUES ( '.
sub print_form {
my $cgi = shift;
my $action = shift;
- print $cgi->header( '-expires' => 'now' ),
+ print $cgi->header,
$cgi->start_html($action),
$cgi->h1($action),
$cgi->start_form,