function
error_redirect ()
{
header ("Location: https://www.babybornclub.de/error.php");
exit ();
}
if ($_SERVER[REQUEST_METHOD] == "POST")
{
require ("../inc.config.php");
if (!$vorname)
error_redirect ();
if (!$familienname)
error_redirect ();
if (!$strasse)
error_redirect ();
if (!$plz)
error_redirect ();
if (!$land)
error_redirect ();
if (!$birthday)
error_redirect ();
if (!$birthmonth)
error_redirect ();
if (!$birthyear)
error_redirect ();
if (!$relation)
error_redirect ();
if (!$vorname1)
error_redirect ();
if (!$familienname1)
error_redirect ();
if (!$telefon)
error_redirect ();
if (!$strasse1)
error_redirect ();
if (!$plz1)
error_redirect ();
if (!$email)
error_redirect ();
if ($cctype == "konto")
if (!$bnumber or !$blz or !$name)
error_redirect ();
if ($cctype == "kreditkarte" or $cctype == "eurocard" or $cctype == "visa")
if (!$ccname or !$ccnum or !$ccexp)
error_redirect ();
// if (!$info == "yesinfo")
// error_redirect ();
if (!$unterschrift)
error_redirect ();
@pg_query ("INSERT INTO signups (vorname, familienname, strasse, plz, land, birthday, birthmonth, birthyear, relation, vorname1, familienname1, telefon, strasse1, plz1, email, cctype, bnumber, blz, name, ccname, ccnum, ccexp, info, unterschrift, ip_adresse, datum) VALUES ('$vorname', '$familienname', '$strasse', '$plz', '$land', '$birthday', '$birthmonth', '$birthyear', '$relation', '$vorname1', '$familienname1', '$telefon', '$strasse1', '$plz1', '$email', '$cctype', '$bnumber', '$blz', '$name', '$ccname', '$ccnum', '$ccexp', '$info', '$unterschrift', '$_SERVER[REMOTE_ADDR]', NOW())");
if (pg_errormessage ())
die (pg_errormessage ());
header ("Location: https://www.babybornclub.de/thanks.php");
exit ();
}
?>
Mitglied im BABY born® CLUB werden