Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Dekaron > Dekaron Private Server
You last visited: Today at 06:09

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Share]Setting up registration page.

Discussion on [Share]Setting up registration page. within the Dekaron Private Server forum part of the Dekaron category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2008
Posts: 261
Received Thanks: 5
[Share]Setting up registration page.

I know many people can't set up the page correctly so I'll make a guide for it.
Also most of the reg page is in English.

I used XAMPlite to run it...
  • Place the reg folder inside your httdocs folder.
  • Configure your config.php file inside the reg folder.
  • Set up a file DSN link
    Control Panel -> Administrative Tools -> Data Sources -> User DSN -> name: account descripcion: account server: local -> check "Using SQL password" and enter your password below -> then change default database to account and click next until the end.

If you have any concerns just post it here. If you followed the guide step by step it should work for you.

Thank me if this was useful for you.

Razzen is offline  
Thanks
1 User
Old 12/31/2008, 03:14   #2
 
elite*gold: 0
Join Date: Aug 2007
Posts: 40
Received Thanks: 4
btw, DSN is the correct word, not DNS.
mythofillusion is offline  
Old 12/31/2008, 03:31   #3
 
elite*gold: 0
Join Date: Jun 2008
Posts: 261
Received Thanks: 5
Yeah, my bad.
Razzen is offline  
Old 12/31/2008, 13:52   #4
 
elite*gold: 0
Join Date: Nov 2007
Posts: 73
Received Thanks: 11
I have this error when i try to create an, account

Quote:
"); } $user_result=odbc_do($account_odbc,$strSql); $result_query=odbc_fetch_row($user_result); if (odbc_result($user_result,1)!= "") $errors[] = "该名称已经被占用,请重新输入"; //验证用户名是否规范 if(!preg_match("/^[0-9a-zA-Z]{6,12}$/i", $_POST[username])) $errors[]="只能用英文大小写字母数字的组合作为用户名"; //验证用户名长度 if(strlen($_POST[username])<6) $errors[] = "用户名的长度不能小于6位"; if(strlen($_POST[username])>12) $errors[]= "用户名的长度不能超过12位"; //验证密码是否规范 if(!preg_match("/^[0-9a-zA-Z]{6,12}$/i", $_POST[password1])) $errors[]="只能用英文大小写字母数字的组合作为密码"; if(preg_match("/^[0-9]{6,12}$/i",$_POST[password1])) $errors[]="不可使用纯数字作为密码"; //验证用户名和密码是否相同 if($_POST[username]==$_POST[password1]) $errors[]= "帐号和密码不能相同"; //验证密码长度 if(strlen($_POST[password1])<6) $errors[] = "密码的长度不能小于6位"; if(strlen($_POST[password1])>12) $errors[] = "密码长度不能大于12位"; //验证密码一致性 if($_POST[password2]!=$_POST[password1]) $errors[] = "输入的密码不一致"; //验证找回密码问题答案长度 if(strlen($_POST[question])>20) $errors[] = "找回密码问题大于20位,请返回重新输入"; if(strlen($_POST[question])<10) $errors[] = "找回密码问题小于10位,请返回重新输入"; if(strlen($_POST[answer])>20) $errors[] = "找回密码答案大于20位,请返回重新输入"; if(strlen($_POST[answer])<10) $errors[] = "找回密码答案小于10位,请返回重新输入"; //验证用户email正确性 if(!preg_match("/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/i",$_POST[mail])) $errors[]="Email地址不正确,请重新输入正确的Email地址"; //错误信息输出 if(sizeof($errors)>0){ $errorStr .= "
# "; $errorStr .= "信息输入错误:"; foreach($errors as $error) $errorStr .= "$error
"; $errorStr .= "

"; }else{ //加密密码 $passwd_user=md5($_POST[password1]); //获取user_no $dk_time=strftime("%y%m%d%H%M%S"); list($usec1, $sec1) = explode(" ",microtime()); $dk_user_no=$dk_time.substr($usec1,2,2); //用户注册语句 $dk_account_query="insert into user_profile(user_no,user_id,user_pwd,resident_no, user_type,login_flag,login_tag,ipt_time,login_time ,logout_time,user_ip_addr,server_id) values('$dk_user_no','$_POST[username]','$passwd_user','801011000000','1','0','Y','01/01/2006 00:00:00',null,null,null,'000')"; //用户资料保存 $dk_account_query2="insert into Tbl_user(user_no,user_id,user_pwd,user_mail,user_a nswer,user_question) values('$dk_user_no','$_POST[username]','$_POST[password1]','$_POST[mail]','$_POST[answer]','$_POST[question]')"; //执行用户注册和资料保存语句 $dk_account_result1=odbc_do($account_odbc,$dk_acco unt_query); $dk_account_result2=odbc_do($account_odbc,$dk_acco unt_query2); odbc_close($account_odbc); } //返回错误消息到页面 return $errorStr; } ?>
Anyone know what is this error. Thanks
clementitus is offline  
Old 12/31/2008, 20:36   #5
 
elite*gold: 0
Join Date: Dec 2007
Posts: 37
Received Thanks: 10
yep same problem
turkey_55 is offline  
Old 12/31/2008, 20:59   #6
 
elite*gold: 0
Join Date: Jun 2008
Posts: 261
Received Thanks: 5
You don't have PHP enabled it seems.
Razzen is offline  
Old 12/31/2008, 23:32   #7
 
chris61292's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 371
Received Thanks: 69
This isn't a guide at all...
chris61292 is offline  
Old 01/01/2009, 22:22   #8
 
elite*gold: 0
Join Date: Aug 2008
Posts: 339
Received Thanks: 420
i have a problem ive mine gameserver online (dekaron) the registpage dont work cause the 80 port is busy O.o can any 1 help me?
todesengelXx is offline  
Old 01/01/2009, 23:36   #9
 
elite*gold: 0
Join Date: Jun 2008
Posts: 261
Received Thanks: 5
change apache to work under port 8x.
Razzen is offline  
Thanks
1 User
Old 01/01/2009, 23:55   #10
 
elite*gold: 0
Join Date: Aug 2008
Posts: 339
Received Thanks: 420
how can i change it ?
todesengelXx is offline  
Old 01/02/2009, 00:29   #11
 
elite*gold: 0
Join Date: Jun 2008
Posts: 261
Received Thanks: 5
Check httpd.config (something like that) in your apache folder.
Razzen is offline  
Thanks
1 User
Old 01/02/2009, 04:39   #12
 
elite*gold: 0
Join Date: Aug 2008
Posts: 339
Received Thanks: 420
i change it into 8x in httpd.config but it stil not working please help
todesengelXx is offline  
Old 01/02/2009, 05:31   #13
 
elite*gold: 0
Join Date: Jun 2008
Posts: 261
Received Thanks: 5
lol I meant 8x that means either 81 82 83 84 85 86..... and so on
Razzen is offline  
Old 01/02/2009, 06:57   #14
 
elite*gold: 0
Join Date: Aug 2008
Posts: 339
Received Thanks: 420
can you add me in icq or skype ??


icq: 365391128
Skype: derumen1
todesengelXx is offline  
Old 01/02/2009, 07:15   #15
 
elite*gold: 0
Join Date: Jun 2008
Posts: 261
Received Thanks: 5
Sorry I don't have any of those.
Razzen is offline  
Reply


Similar Threads Similar Threads
[HELP]Registration Page
01/10/2010 - CO2 Private Server - 6 Replies
Guys I finally got reg page to load but when i click register it says "page not found". I'm using Epic Webserver. Any suggestion? And yeah this is for 5165. And i deleted regcomplete in webserver which i was told is wat i need to do also.
[HELP]About registration page :(
07/29/2009 - CO2 Private Server - 6 Replies
Anyone can teach me how to configure the register page. People cant seem to register to my register page. It says "can't establish a connection to the server at 192.168.1.5.", but when i visit the register page, i can open it. And people tell me to open port 80 *the problem is my ISP wont allow me to open port 80*. I still cant configure it. So anyone can help me set it up. Thanks in advance. One more thing, my server keeps log-in freeze. PROBLEM with that? so i have to restart it over and...
pd nabang i share sa iba yung setting??
06/06/2009 - Grand Chase Philippines - 3 Replies
hahahaha ask ko lng kung pd na ishare yung setting but not the download link????
Setting up an account creation page for your WoW server
04/23/2009 - WoW Private Server - 1 Replies
Ok then first of all you will want to download Wamp here : Download WampServer 2 - Download PHP, apache, MySQL just download it then install. It should be installed into your c: Next choose the page you want (or make your own page) for what you want your server to be. I use this one : DOWNLOAD NOW! Extract the contents to : C: > Wamp > www Then in the www folder make a folder called "img" and place all the images in there!
Setting up an account creation page for your WoW server
04/21/2009 - WoW Private Server - 0 Replies
Ok then first of all you will want to download Wamp here : Download WampServer 2 - Download PHP, apache, MySQL just download it then install. It should be installed into your c: Next choose the page you want (or make your own page) for what you want your server to be. I use this one : DOWNLOAD NOW! Extract the contents to : C: > Wamp > www Then in the www folder make a folder called "img" and place all the images in there!



All times are GMT +2. The time now is 06:09.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.