TCLUG Installfest Registration Form
include ("../../include/wwwmnlinuxorg.inc");
tclug_db_connect () or exit;
if ($submit) {
if (!($first_name && $last_name && $timeattend)) {
print "You must complete all the bold sections
";
print "";
exit;
}
$sql = "INSERT INTO installfest (id, first_name, last_name, email, age, distro, usingsince, skilllevel, volunteer, bringingeq, timeattend, numinstallfests, hearabout, addinfo, useragent, remote_addr, date, dualboot, otheros,cpu,ramsize,disktype, disksize,modem,nic,installtype,wantdistro,lunch,lunchmoney) VALUES ('', '$first_name', '$last_name', '$email', '$age', '$distro', '$usingsince', '$skilllevel', '$volunteer', '$bringingeq', '$timeattend', '$numinstallfests', '$hearabout', '$addinfo', '$HTTP_USER_AGENT', '$REMOTE_ADDR', NOW(), '$dualboot', '$otheros', '$cpu', '$ramsize', '$disktype', '$disksize', '$modem', '$nic', '$installtype', '$wantdistro', '$lunch', '$lunchmoney')";
$result=mysql_query($sql);
#echo "$sql
";
if ($result = 1) {
print "Thank you for registering for the installfest.
\n";
print "If you need any information changed, please notify info@mn-linux.org.
\n";
print "Details about the installfest can be found on the TCLUG main web page.
\n";
mail("cfandre@maddog.mn-linux.org", "Installfest Registration for $first_name $last_name", "http://www.mn-linux.org/cgi-bin/display.pl");
} else {
print "There was an error processing your data. Please notify webmaster@mn-linux.org\n";
print "error processing data\n";
}
exit;
}
$sql = "select * from installfest where date > \"2002-9-01 08:00:00\"";
$result = mysql_query($sql) or die ("Cannot execute query");
$numrows = mysql_numrows($result);
print "There are $numrows user(s) already registered for the installfest.
\n";
?>
TCLUG Installfest
Saturday October 12th, 2002
11:00 am to 5:00 pm
Click here for more information.
You should bring everything you need. This includes power cables, power strips, network cables, keyboards, etc.