summaryrefslogtreecommitdiff
path: root/www-ssl/makeuser.php.de
diff options
context:
space:
mode:
Diffstat (limited to 'www-ssl/makeuser.php.de')
-rwxr-xr-xwww-ssl/makeuser.php.de13
1 files changed, 13 insertions, 0 deletions
diff --git a/www-ssl/makeuser.php.de b/www-ssl/makeuser.php.de
index 00033de1..2bd49675 100755
--- a/www-ssl/makeuser.php.de
+++ b/www-ssl/makeuser.php.de
@@ -48,6 +48,19 @@ if( $_POST)
$SQL2 = "SELECT UID FROM `User` WHERE Nick='". $_POST["Nick"]. "';";
$Erg2 = mysql_query($SQL2, $con);
$Data = mysql_fetch_array($Erg2);
+
+ $SQL3 = "INSERT INTO `UserCVS` (`UID`) VALUES (". $Data["UID"]. ");";
+ $Erg3 = mysql_query($SQL3, $con);
+ if ($Erg3 != 1)
+ {
+ echo "error: can't save userright... <br><h6>(".mysql_error($con).")</h6>";
+ }
+ else
+ {
+ echo "userright was saved...<br>";
+ echo "<br><br> Your acount was sucsessfull creat, hafe al lot of fun.";
+ }
+
}
}
if( !isset($error) ){