i want to try this register form but i dont know why its all error
heres my config
<?php
$statistics = "on"; // write in "" on or off
$registration = "on"; // write in "" on or off
$md5 = "on"; //if you using md5 encrypt you must write replace off with on
$userminlength = "4"; // Username Minimum Length, default is 4
$usermaxlength = "10"; // Username Maximum Length, default is 10
$passminlength = "6"; // Password Minimum Length, recomended is 6
$passmaxlength = "12"; // Password Maximum Length, recomended is 12
$servername = "MyRo"; // You Ragnarok Server Name
/************************* Database ********************/
DEFINE(host, "localhost"); // database hostname default is localhost
DEFINE(user, "root"); // database username
DEFINE(pass, "ragnarok"); // database password
DEFINE(db, "ragnarok"); // database
/*********************** Main *************************/
DEFINE(Username, "Username");
DEFINE(Password, "Password");
DEFINE(RePassword, "Re-Password");
DEFINE(Email, "Email Address");
DEFINE(Remail, "Re-Email Address");
DEFINE(Rules, "Accept rules");
DEFINE(Email, "Email");
DEFINE(Sex, "Sex");
DEFINE(Male, "Male");
DEFINE(Female, "Female");
DEFINE(captcha, "Captcha");
DEFINE(check, "Check");
DEFINE(reset, "Reset");
DEFINE(submit, "Register");
/********************* Statistics **********************/
DEFINE(rm, "Registered Members");
DEFINE(cc, "Created Characters");
/****************** Registration Errors *****************/
DEFINE(vrules, "You must read and accept rules for complete registration!");
DEFINE(Already, "Username '+document.getElementById('username').value+' is already exits, please choose another Username");
DEFINE(ud, "You didn't enter a Username.");
DEFINE(un, "Username is Already Exits");
DEFINE(ul, "Username length must be from ".$userminlength." to ".$usermaxlength."");
DEFINE(ui, "Username contained are Illegal characters.");
DEFINE(pd, "You didn't enter a Password.");
DEFINE(pl, "Password length must be from ".$passminlength." to ".$passmaxlength."");
DEFINE(pi, "Password contained are Illegal characters.");
DEFINE(ed, "You didn't enter a Email.");
DEFINE(el, "Invalid Email Address");
DEFINE(ei, "You didn't enter a Username.");
DEFINE(rem, "Emails do not mutch");
DEFINE(pem, "Passwords do not mutch");
DEFINE(vcap, "Captcha must contain 5 chars");
DEFINE(vin, "Security code is Incorrect");
DEFINE(reg, "Username ".$username." Registered, now you can join in game<bGood luck!");
/********************* Mainterance **********************/
DEFINE(mainterance, "Sorry Registration are disabled at the moment");
$con = mysql_connect(host,user,pass);
?>
Question
Byakuran
i want to try this register form but i dont know why its all error
heres my config
heres the http://www.eathena.ws/board/index.php?showtopic=267614&hl=register where i get the register form..
bump!! please help?
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.