- 0
This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..
AdBlock Extension Detected!
Our website is made possible by displaying online advertisements to our members.
Please disable AdBlock browser extension first, to be able to use our community.
Question
busta
I know this is probably not the right place to put this topic, but I dont know where to write it, so excuse me. Here is my problem...
My site doesnt work for Hi5 , since the database in sql its l2jls, l2jgs, l2jcs not only l2jdb like before Hi5. This code must be rewriten in order the site to work. Otherwise no Login/Game server online/offline.
code of stats.php :
<?php
$db_user = "root";
$db_pass = "pass";
$db_name = "l2jdb"; (<=old style)
$db_serv = "adress";
$res = mysql_connect ( $db_serv, $db_user, $db_pass ) or die ("Coudn't connect to [$db_serv]");
$resdb = mysql_select_db ( $db_name, $res );
return $res;
?>
If someone knows how to fix it please do so!
And NO it doesnt work with changing $db_name = "l2jgs" !!!
Please someone help me!
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now