it never did this before im using a reg php script from dkunderground
my registration page from my site wont work
any ideas im not very brite with php
i just design site havent go to php coding yet
$result1 = mssql_query("SELECT * FROM account.dbo.USER_PROFILE WHERE user_id = '".$_POST['accname']."'",$con);
$result2 = mssql_query("SELECT * FROM account.dbo.Tbl_user WHERE user_id = '".$_POST['accname']."'",$con);
$result3 = mssql_query("SELECT * FROM account.dbo.Tbl_user WHERE user_mail = '".$_POST['accmail']."'",$con);
if(empty($_POST['accname']) || empty($_POST['accpass1']) || empty($_POST['accpass2'])|| empty($_POST['accname']) || empty($_POST['accmail'])) {
echo "<br>You didnt fill in all fields<a href='javascript:history.back()'>Go Back</a>";
} elseif($row1 > '0' || $row2 > '0') {
echo "<br>This Account name already exists.<a href='javascript:history.back()'>Go Back</a>";
} elseif($row3 > '0') {
echo "<br>This E-Mail is already in use.<a href='javascript:history.back()'>Go Back</a>";
} elseif($_POST['accpass1'] != $_POST['accpass2']) {
echo "<br>The passwords did not match<a href='javascript:history.back()'>Go Back</a>";
} elseif($_POST['accpass1'] == $_POST['accname']) {
echo "<br>Account name and password are the same.<a href='javascript:history.back()'>Go Back</a>";
} elseif(!preg_match("/^[0-9a-zA-Z]{3,15}$/i", $_POST['accname'])) {
echo "<br>Enter a account name only with 0-9 , a-z and A-Z.<a href='javascript:history.back()'>Go Back</a>";
} elseif(!preg_match("/^[0-9a-zA-Z]{3,15}$/i", $_POST['accpass1'])) {
echo "<br>Enter a password only with 0-9 , a-z and A-Z.<a href='javascript:history.back()'>Go Back</a>";
} elseif(!preg_match("/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/i",$_POST['accmail'])) {
echo "<br>Your e-Mail is not correct.<a href='javascript:history.back()'>Go Back</a>";
} elseif(strlen($_POST['accname']) < 3 || strlen($_POST['accname']) > 15) {
echo "<br>The Accountname must at least 3 indications long and may maximally 15 indications long.<a href='javascript:history.back()'>Go Back</a>";
} elseif(strlen($_POST['accpass1']) < 3 || strlen($_POST['accpass1']) > 15) {
echo "<br>The Password must at least 3 indications long and may maximally 15 indications long.<a href='javascript:history.back()'>Go Back</a>";
} else {
$accpass = md5($_POST['accpass1']);
mssql_query("INSERT INTO account.dbo.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['accname']."','".$accpass."','801011000000','1','0','Y','".$date."',null,null,null,'000')",$con);
mssql_query("INSERT INTO account.dbo.Tbl_user (user_no,user_id,user_pwd,user_mail,user_answer,user_question) VALUES ('$dk_user_no','".$_POST['accname']."','".$_POST['accpass1']."','".$_POST['accmail']."','0','0')",$con);
echo "<center><b><u>The account was successfully created. Have fun !</b></u></center><br><br>";
echo "<center>Here is your login info again:</center>";
echo "<center>Your account name is: <b>".$_POST['accname']."</b></center>";
echo "<center>Your password is: <b>".$_POST['accpass1']."</b></center>";
echo "DO NOT LOOSE THIS INFO, YOU MAY WRITE IS DOWN AND HIDE IT";
}
Enable the extension for MSSQL server... removing the ";" before extension=php_mssql.dll and try to turn on the output_buffering all in php.ini. Remember to save the file and restart your webserver.
Registration 08/04/2010 - C9 - Continent of the Ninth - 7 Replies Hi Guys
where can i make a C9 registration?
thx :)
Hy i need registration help. 03/12/2009 - Metin2 Private Server - 0 Replies can anyone help me register to this chinese metin server? http://121.205.89.154:1997/regist.asp
asian client registration help needed 12/21/2007 - Archlord - 12 Replies ok i havent got it yet nore will i :mad: i am able to copy images that contain text however the god dam reg page prevents me from being able to do it.So i can not just copy and paste to google trans and reg that way.I have been trying to get onto japaneese instead of korean.As everytime i open the korean one i get to a page that i cant get past= http://archlord.hangame.com/ {not for not trying}.So 5houres i ask u as u seem to know more about this then me.Do u know any way to maybe save the...