NameSilo

Connect 2 database into 1?

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
NamecheapNamecheap
Watch

Devon001

Established Member
Impact
0
Can anyone tell me how to connect 2 database?

www.ezfilehosting.com/forum (Invision Power Board)
www.ezfilehosting.com/a (King of Chaos)

I would like to connect these 2 database together, whenever someone register to the Invision Power Board they are automatically sign up to the King of Chaos.. Can You Help me?

conf_global.php (Invision Power Board)
Code:
<?php
$INFO['sql_driver']			=	'mysql';
$INFO['sql_host']			=	'localhost';
$INFO['sql_database']			=	'dummy_user';
$INFO['sql_user']			=	'dummy_user';
$INFO['sql_pass']			=	'pass;
$INFO['sql_tbl_prefix']			=	'ibf_';
$INFO['sql_debug']			=	'1';
$INFO['board_start']			=	'1117939937';
$INFO['installed']			=	'1';
$INFO['php_ext']			=	'php';
$INFO['safe_mode']			=	'0';
$INFO['board_url']			=	'http://www.ezfilehosting.com/forum/forum';
$INFO['admin_group']			=	'4';
$INFO['guest_group']			=	'2';
$INFO['member_group']			=	'3';
$INFO['auth_group']			=	'1';

?>

lib.php (king Of Chaos)
Code:
<?php 
//	---===:::: Configurable area Start ::::===---
	
	 $conf["mail"]="[email protected]";
	 
	 $conf["sites_database_name"] = "dummy_user2"; 
	 $conf["sites_database_name"] = "dummy_user2"; 
	 $conf["sites_database_login"] = "dummy_user2"; 
	 $conf["sites_database_login"] = "dummy_user2"; 
	 $conf["sites_database_password"] = "";
	 $conf["sites_database_password"] = "pass2";
	 $conf["path"]='';
 
	//---------- Admin Panel Options
	$conf['admin_login']='admin';
	$conf['admin_password']='pass';
	
	$conf["tables_color"] ="black";"#991111";//"#D1D1AF";
	$conf["tables_font_color"]='white';'black';
	$conf["tables_border_color"] ='#444444';'#226644';"#999999";
	
	$conf["form_element_border_color"] ="#999999";
	$conf["form_element_bgcolor"] ="#EEEEEE";
	
	$conf["body_bgcolor"]='black';
	$conf["body_text_color"]='#999999';
	
	$conf["text_family"]='Tahoma, Arial, Helvetica, sans-serif';
	$conf["text_size"]='11';
	$conf["text_style"]='bold';
	
	$conf["logout_color"] ="#A3437B";
	
	$conf["head_border"]="#BB0000";
	$conf["head_bgcolor"]="#440000";
	$conf["head_text_color"]="white";
	$conf["head_text_size"]="14";
	$conf["head_text_style"]="bold";
	
	$conf["menuhead_border"]="#444444";
	$conf["menuhead_bgcolor"]="#EEEEEE";
	$conf["menuhead_text_color"]="black";
	
	$conf["menuitem_text_color"]="black";
	$conf["menuitem_hover_bgcolor"]="#EEEEEE";
	
	$conf["menu_border_color"]="#999999";
	$conf["menu_bgcolor"]="#D1D1D1";
	
	//$conf["fortification"][0]="Camp";
	//$conf["fortification"][1]="palisade";
	//$conf["fortification"][2]="stronghold";
	
	
	//---------- Game options
Talks about the game options, like how much gold each player gets....
//	---===:::: Configurable area  End 	::::===---
 ?>

Can Anyone help me? I really would appreciate it :).

If you cannot get that to work, can you help me on the regstration part on the King Of chaos?
http://www.ezfilehosting.com/a/register.php

THe random character doesn't work :(, the ppl i bought it from said, that I have to install, GD, which is already install :(
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable Domains โ€” AI StorefrontUnstoppable Domains โ€” AI Storefront
You really have 2 options here:
  1. Edit the registration for forum A to do the needed insert's into forum B's db
  2. Rewrite the login code of one of the forums to look at the other's database for authentication
 
0
•••
Appraise.net
Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back