- Joined
- Oct 18, 2008
- Messages
- 623
- Reaction score
- 499
You need to activate the short syntax in php.ini
You need to activate the short syntax in php.ini
Пробвах но при инсталацията на самата xampp ми дава накрая някаква грешка от самата програма че липсват файлове имам някакъв вирус като си преинсталирам компа ще пробвам на ново!
can someone help me ?..I just cant make an account. and i dont find the sorce of problem
try turning it off
how i can do it on server? its darks 99+ (1.0m) server with md5
then you have to turn it on in the website in the config file and use this guide
http://darksteam.net/guides/[guide]-how-fix-md5-your-website-13461.html
{
$qid = mssql_query("SELECT * FROM memb_info WHERE memb_guid=(SELECT MAX(memb_guid) FROM memb_info)");
$rid = mssql_fetch_array($qid);
$id = $rid['memb_guid'];
$id++;
$register_query_1 = "SET IDENTITY_INSERT MEMB_INFO ON";
$register_query_2 = "INSERT INTO MEMB_INFO (memb_guid,memb___id,memb__pwd,memb_name,sno__numb,post_code,addr_info,addr_deta,tel__numb,mail_addr,phon_numb,fpas_ques,fpas_answ,job__code,appl_days,modi_days,out__days,true_days,mail_chek,bloc_code,ctl1_code) VALUES ('$id','$username',[dbo].[fn_md5]('$password','$username'),'$username', '111111111', '1234', '11111', '111111111','12343', '$mail', '$mail', '$question', '$answer','1','2003-11-23', '2003-11-23', '2003-11-23', '2003-11-23', '1', '0', '1')";
$register_query_3 = "INSERT INTO VI_CURR_INFO (ends_days,chek_code,used_time,memb___id,memb_name,memb_guid,sno__numb,Bill_Section,Bill_value,Bill_Hour,Surplus_Point,Surplus_Minute,Increase_Days ) VALUES ('2005','1',1234,'$username','$username','$id','111111111','6','3','6','6','2003-11-23 10:36:00','0' )";
$register_query_1 = mssql_query($register_query_1);
$register_query_2 = mssql_query($register_query_2);
$register_query_3 = mssql_query($register_query_3);
show_ok('The account is successfully created.');
}
}
used that site and i had chance to make only 1 acc and after that no more accs made.
This is the end of my register_do.php I changed it a little so i hoped it will work, but so far no error from website and no accounts.
What tha hell i have made wrong ?
{
$qid = mssql_query("SELECT * FROM memb_info WHERE memb_guid=(SELECT MAX(memb_guid) FROM memb_info)");
$rid = mssql_fetch_array($qid);
$id = $rid['memb_guid'];
$id++;
$register_query_1 = "SET IDENTITY_INSERT MEMB_INFO ON";
$register_query_2 = "INSERT INTO MEMB_INFO (memb_guid,memb___id,memb__pwd,memb_name,sno__numb,post_code,addr_info,addr_deta,tel__numb,mail_addr,phon_numb,fpas_ques,fpas_answ,job__code,appl_days,modi_days,out__days,true_days,mail_chek,bloc_code,ctl1_code) VALUES ('$id','$username','$password','$username', '111111111', '1234', '11111', '111111111','12343', '$mail', '$mail', '$question', '$answer','1','2003-11-23', '2003-11-23', '2003-11-23', '2003-11-23', '1', '0', '1')";
$md5 = $web['md5'];
if($md5 == 1){
$register_query_2 = "INSERT INTO MEMB_INFO (memb_guid,memb___id,memb__pwd,memb_name,sno__numb,post_code,addr_info,addr_deta,tel__numb,mail_addr,phon_numb,fpas_ques,fpas_answ,job__code,appl_days,modi_days,out__days,true_days,mail_chek,bloc_code,ctl1_code) VALUES ('$id','$username',[dbo].[fn_md5]('$password','$username'),'$username', '111111111', '1234', '11111', '111111111','12343', '$mail', '$mail', '$question', '$answer','1','2003-11-23', '2003-11-23', '2003-11-23', '2003-11-23', '1', '0', '1')";
}
$register_query_3 = "INSERT INTO VI_CURR_INFO (ends_days,chek_code,used_time,memb___id,memb_name,memb_guid,sno__numb,Bill_Section,Bill_value,Bill_Hour,Surplus_Point,Surplus_Minute,Increase_Days ) VALUES ('2005','1',1234,'$username','$username','$id','111111111','6','3','6','6','2003-11-23 10:36:00','0' )";
$register_query_1 = mssql_query($register_query_1);
$register_query_2 = mssql_query($register_query_2);
$register_query_3 = mssql_query($register_query_3);
show_ok('The account is successfully created.');
}