RF - Borneo
™️Selamat Datang Di Forum RF-Borneo 2.2.3™️

You Must Register First
Come on , Join Us nd Feel The Game .
RF - Borneo
™️Selamat Datang Di Forum RF-Borneo 2.2.3™️

You Must Register First
Come on , Join Us nd Feel The Game .

RF - Borneo


 
HomePortalGallerySearchLatest imagesRegisterLog in
Welcome To Forum
RF - Borneo 2.2.3 Golden Update
Invite You'r Friend , To Come nd Join Us
Search
 
 

Display results as :
 
Rechercher Advanced Search

Latest topics
» Selamat dan semoga sukses
Advanced Search Icon_minitime19/09/12, 01:19 am by uban

» to bang fayell
Advanced Search Icon_minitime01/08/12, 08:35 am by DaMy

» even Guild ^_^
Advanced Search Icon_minitime30/07/12, 06:48 pm by AdminBorneo

» Absent Accretia Empire
Advanced Search Icon_minitime30/07/12, 12:14 pm by RadaLieur[dena]

» even cofer RF borneo editing
Advanced Search Icon_minitime30/07/12, 11:14 am by Papanico

» Info Donate
Advanced Search Icon_minitime29/07/12, 08:57 pm by AdminBorneo

» -= Event Mingguan=-
Advanced Search Icon_minitime29/07/12, 08:54 pm by AdminBorneo

» Even War YG CB setiap ada pemberitahuan Admin RF BORNEO
Advanced Search Icon_minitime29/07/12, 08:49 pm by AdminBorneo

» Jika Terjadi CE ketika kil pilihan server Ini solusinya ^_^
Advanced Search Icon_minitime29/07/12, 08:45 pm by AdminBorneo

November 2024
MonTueWedThuFriSatSun
    123
45678910
11121314151617
18192021222324
252627282930 
CalendarCalendar
Affiliates
free forum


php/*======================================================================*\|| #################################################################### |||| # Registration for RF Offline private server || || # ---------------------------------------------------------------- # |||| # Copyright ©2007 moncos. All Rights Reserved. |||| #################################################################### ||\*======================================================================*/include 'rf_config.php';$tabelka = '
Login :
Password :
Password ( repeat ) :
Email :
';if($reg_open AND isset($_POST['login'])){$conn=mssql_connect($host,$sql_user,$sql_pwd) or die("
Critical Error
Impossible to connect to the database

");@mssql_select_db($base, $conn) or die("
Critical Error
Database don't exists OR I can't Access to it !

");$login = $_POST['login'];$pw = $_POST['pass'];$cpw = $_POST['cpass'];$email = $_POST['mail'];$login = trim($login);$pw = trim($pw);$cpw = trim($cpw);if(ereg("[^0-9a-zA-Z_-]", $login, $str)){echo '
Login not in good format.';echo '

';}elseif(ereg("[^0-9a-zA-Z_-]", $pw, $str)){echo '
Password not in good format.';echo '

';}elseif (empty($login) || empty($email) || empty($pw) || empty($cpw)) {echo '
Fill in the empty fields.

';}elseif (strpos('\'',$email)) {echo '
This '.$email.' is not a good mail adress.

';}else{$login_test = strtolower($login);$resultx = mssql_query("SELECT (UserId) FROM x2o_user WHERE (UserId) = ('$login_test')") or die;if (mssql_num_rows($resultx)) {echo '
The account '.$login.' already exists.

';}elseif (strlen($login) < 4) {echo '
Login must have more than 4 characters.

';}elseif (strlen($pw) < 4) {echo '
Password must have more than 4 characters.

';}elseif (strlen($pw) > 10) {echo '
Password must have less than 10 characters.

';} elseif (strlen($login) > 10) {echo '
Login must have less than 10 characters.

';} elseif ($pw != $cpw) {echo '
Passwords mismatch.

';}else {mssql_query("INSERT INTO exgame.dbo.x2o_user (UserId,Password,UserName,email) VALUES ('$login','$pw','$login','$email')");mssql_query("INSERT INTO rfweb.dbo.account_sound_team VALUES ('$login')");mssql_query("INSERT INTO exgame.dbo.account_sound_team (id) VALUES ('".$login."')")or die('
error, account exists

');echo '
Account has been created.

';}}}elseif($reg_open){echo $tabelka;}else {echo '
Registration closed. Try later.

';}