query($abfrage); $zaehler=$check->num_rows; $check->free(); if ($zaehler>0) { $display="double"; } else { # eintragen $key = rand(1,100000); $eintrag = "INSERT INTO users VALUES ('','$u_email',MD5('$u_password1'),'$u_name','$lang',NOW(),'0','$key','0','0','0',NULL,NULL,NULL)"; $eintragen = $db->query($eintrag); $display="confirmation"; $u_id = $db->insert_id; # Id des reviews merken # Mail verschicken $mail_topic = _registermail_topic; $link = "http://safari-operators.info/".$lang."/activate_".$u_id."_".$key.".html"; $mail_text = _registermail_text.$link; $mail_from = _registermail_sendaddress; mail($u_email,$mail_topic,$mail_text,$mail_from); } } } ?> _registration

_registration

_user_thankyou

"") { # Es ist ein Update ?>
close(); ?>