I have a temp website up so if players type in my ip addy they can see the page and register for the game, but on my www. website they can see the page but cannot register or see top player pets ect, so for some reason the website is not reading from the database the config.php is set up the same on the webhoster the same as it is set up on my server for the ip website, can someone tell me what i need to do to get the regular website to read from my database this is what my config.php looks like.
<?php
require_once './inc/class.captcha.php';
// Configurations
$myhost= "localhost";
$mypass= "my pass"; //your server login password
$myuser= "my username"; //your server login username
$mydbacc= "my"; //your server account database
$mydbdata="my"; //your server my database name
$serveraddress= "my server ip here"; //your server ip
$serverport=5816; //your server connection port
$servername= "LostEO"; //your server name
$forum= "my forum link" ; //your server forum
$mydb= "my"; //your server my database
// Dont Edit after this
mysql_connect($myhost,$myuser,$mypass);
mysql_select_db($mydb);
?>
where is has "my ip here" i have put the ip of the server where the db is.
any help would be great ty all in advance.
SOLVED!