| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| New Member Join Date: Jun 2005
Posts: 13
![]() | Connect 2 database into 1? 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'; ?> Code: <?php // ---===:::: Configurable area Start ::::===--- $conf["mail"]="webmaster@ezfilehosting.com"; $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 ::::===--- ?> .????: NamePros.com http://www.namepros.com/programming/99295-connect-2-database-into-1-a.html ????: NamePros.com http://www.namepros.com/showthread.php?t=99295 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 |
| |
| | #2 (permalink) |
| NamePros Regular Join Date: Jul 2005 Location: Tucson, AZ
Posts: 689
![]() | You really have 2 options here:
|
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cannot Connect To Database | tsalexey544 | Programming | 2 | 06-11-2005 06:49 PM |
| database connect | redhippo | Programming | 9 | 11-26-2004 08:34 PM |
| connect to a mssql database using php | adam_uk | CODE | 2 | 05-20-2004 11:25 PM |
| Connect to a mysql Database using php | adam_uk | CODE | 3 | 04-18-2004 01:07 PM |
| help, help, help with phpBB installation | seraph | Programming | 2 | 10-05-2003 09:05 PM |