Page 1 of 1

Account automatically deleted

Posted: Sat Jul 03, 2010 11:27 pm
by r0x
If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision Number: 4300
L2JDP Revision Number: 7517


my account activation system in php with this problem.
I create the account and active, but she disappears from the table "accounts".
the error is not in php, php and mysql server are 100% correct.
and protected against any inject.

I think the server is deleting the new records for some reason.

my php code:

Code: Select all

$id = antiInjection($_GET['id']);$sql = mysql_query ("SELECT * FROM usuarios WHERE confirmacao = '$id' AND registro = 0") or die(sql_error(mysql_error(),$doc_file));$sqlreg = mysql_num_rows($sql);if($sqlreg > 0){$sqlreg_user = mysql_result($sql,0,"login");$sqlreg_pass = l2j_encrypt(mysql_result($sql,0,"senha"));mysql_query("UPDATE usuarios SET confirmacao = '0', registro = '1' WHERE confirmacao = '$id'") or die(sql_error(mysql_error(),$doc_file));mysql_close($mysql_conn);include"include/mysql_l2j.php";mysql_query("INSERT INTO accounts VALUES ('$sqlreg_user','$sqlreg_pass','".time()."','0','$ip','0',null,null,null,null,null,null)") or die(sql_error(mysql_error(),$doc_file));}else{header("Location: /lineage2/erro.php");}
if anyone has any idea what might be, please post. (:

edit:
is not always what happens, but it happens very often

Re: Account automatically deleted

Posted: Mon Jul 05, 2010 6:14 pm
by r0x
anyone have any idea what could be?

Re: Account automatically deleted

Posted: Wed Jul 21, 2010 8:00 pm
by r0x
the problem continues and no one has a solution?

Re: Account automatically deleted

Posted: Thu Aug 19, 2010 3:50 pm
by r0x
anyone? Oo

Re: Account automatically deleted

Posted: Thu Aug 19, 2010 4:15 pm
by LasTravel