QUOTE(simpsoholic @ Apr 16 2006, 08:31 PM)

Can i use the normal IPB registration page to insert the user into a different DB?
Yes this is easy.. just create a different db object:
E.G.
CODE
//connect to a remote db
$this->ipsclass->RDB = new db_driver();
$this->ipsclass->RDB->obj['sql_database'] = $this->ipsclass->vars['remote_database'];
$this->ipsclass->RDB->obj['sql_user'] = $this->ipsclass->vars['remote_user'];
$this->ipsclass->RDB->obj['sql_pass'] = $this->ipsclass->vars['remote_pass'];
$this->ipsclass->RDB->obj['sql_host'] = $this->ipsclass->vars['remote_host'];
$this->ipsclass->RDB->obj['sql_tbl_prefix'] = $this->ipsclass->vars['remote_tbl_prefix'];
$this->ipsclass->RDB->obj['use_shutdown'] = 0;
$this->ipsclass->RDB->obj['force_new_connection'] = 1;
$this->ipsclass->RDB->connect();
Then do your inserts with the new object ..
Then call this to close your remote connection.
CODE
$this->ipsclass->RDB->close_db();