For the past month, i have been programming a game. I have setup an engine to connect to a mysql database and retrieve a set of highscores / send in a highscore. I have tested this through PHP on the same host (uploaded to my website) with success. But, when I try to connect through the game with the same login/host details, it fails... The code i use in-game is correct and with a separate MySQL database (different host) it works just like it should.
$host = "localhost";
$user = "snaked";
$pass = "******************";
$scores_db = "snaked_mmcdb";
that is how my game connects. And fails.
How can i get it to connect properly?
The game is going to be released as freeware on the website. Oh, I am using this for other things apart from mysql, so don't get me wrong...
TA,
Snaked
$host = "localhost";
$user = "snaked";
$pass = "******************";
$scores_db = "snaked_mmcdb";
that is how my game connects. And fails.
How can i get it to connect properly?
The game is going to be released as freeware on the website. Oh, I am using this for other things apart from mysql, so don't get me wrong...
TA,
Snaked