osward
24-08-2004, 06:03
Hi everybody,
I am having problem to have TS2 using mysql for months and I've decided to give up. :mad:
I would like anyone who is fimiliar with SQLite to tell me how to create a client using command line. What I am trying to do is using exec() in php to create a client that let me automatically add a new client using my member's login name and pass to the server.dbs.
I would need the line of code to let me add a new client in server.dbs similar to the code for mysql below using exec() in php:
/* ******** Create Chat room account ******** */
$db->sql_query ("INSERT INTO ts2_clients (i_client_server_id, b_client_privilege_serveradmin, s_client_name, s_client_password, dt_client_created) VALUES ('1', '0', '$row[username]', '$row[user_password2]', '$regdate')");
/* ***************************************** */
I think this is all the data it needed to create a new client
Anyone who is fimiliar with SQLite please help
Thanks in advance
I am having problem to have TS2 using mysql for months and I've decided to give up. :mad:
I would like anyone who is fimiliar with SQLite to tell me how to create a client using command line. What I am trying to do is using exec() in php to create a client that let me automatically add a new client using my member's login name and pass to the server.dbs.
I would need the line of code to let me add a new client in server.dbs similar to the code for mysql below using exec() in php:
/* ******** Create Chat room account ******** */
$db->sql_query ("INSERT INTO ts2_clients (i_client_server_id, b_client_privilege_serveradmin, s_client_name, s_client_password, dt_client_created) VALUES ('1', '0', '$row[username]', '$row[user_password2]', '$regdate')");
/* ***************************************** */
I think this is all the data it needed to create a new client
Anyone who is fimiliar with SQLite please help
Thanks in advance