$mr = $_REQUEST["mr"];
$lng = $_REQUEST["lng"];
if ($mr == 1) { // mr wird vom Button gesetzt wenn auf Send geklickt wurde
$vn = $_POST["vn"];
$ve = $_POST["ve"];
$nn = $_POST["nn"];
$em = $_POST["em"];
$wsid = $_REQUEST["wsid"];
$urlstring = "http://wcs.ruthner.at/reg.php?vn=" . $vn. "&ve=" . $ve . "&nn=" . $nn . "&em=" . $em . "&wsid=" . $wsid . "&lng=" . $lng;
if ( (strlen($vn)>1) AND (strlen($nn)>1) AND (strlen($em)>7) AND (strlen($wsid)==16) AND (strlen($lng)==2)) {
$MD5CKString = md5($urlstring);
//echo "MD5CKString: $MD5CKString, ck: $ck
$urlstring";
header("Location: $urlstring&ck=$MD5CKString");
//echo "$urlstring&ck=$MD5CKString";
}
else {
echo "
|