Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Upon Registration on One Site | Register on a Forum
#6
Well own forums are always better, but yes it's possible to load from different hosts.
A configuration array would be:

PHP Code:
$config = array(
    
'host' => 'localhost'// or you change it to your diff sql host ex: sql.example.com
    
'user' => 'root',
    
'pass' => '',
    
'base' => 'game_users'


You need to change the "host" and point it to a remote host. And also use the user and password that one db uses..
Everything other is simple mysql_connect, mysql_select, mysql_query, etc..

Here is a simple connection tut.
http://www.supportforums.net/showthread.php?tid=116
Reply


Messages In This Thread
RE: Upon Registration on One Site | Register on a Forum - by Gaijin - 12-21-2009, 02:17 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  User register page riptpage 0 1,105 10-27-2012, 06:40 AM
Last Post: riptpage
  [PHP] Login && Register With Remember Me Option [mySQL] Bartdevil 18 6,469 10-26-2009, 07:54 AM
Last Post: Bartdevil

Forum Jump:


Users browsing this thread: 1 Guest(s)