From 0d755ad701984556995e53dc5f1ca27004235967 Mon Sep 17 00:00:00 2001 From: cookie Date: Thu, 10 Nov 2005 22:44:50 +0000 Subject: userrihts werden erstellt git-svn-id: svn://svn.cccv.de/engel-system@38 29ba0400-6e00-0410-a75a-ca02368028f8 --- www-ssl/makeuser.php.de | 13 +++++++++++++ www-ssl/makeuser.php.en | 13 +++++++++++++ 2 files changed, 26 insertions(+) (limited to 'www-ssl') 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...
(".mysql_error($con).")
"; + } + else + { + echo "userright was saved...
"; + echo "

Your acount was sucsessfull creat, hafe al lot of fun."; + } + } } if( !isset($error) ){ diff --git a/www-ssl/makeuser.php.en b/www-ssl/makeuser.php.en index 86ee286d..8c3a0fa3 100755 --- a/www-ssl/makeuser.php.en +++ b/www-ssl/makeuser.php.en @@ -45,6 +45,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...
(".mysql_error($con).")
"; + } + else + { + echo "userright was saved...
"; + echo "

Your acount was sucsessfull creat, hafe al lot of fun."; + } + } } if( !isset($error) ){ -- cgit v1.2.3-70-g09d2