the system that i upload and host on 99k.org site seems able access database properly.
the sample config file of the system i set as follow

QUOTE
$ip="10.10.124.194"; //hostname
$dbhost=$ip;
$dbuser="user_99k_org_sample"; //username
$dbpwd="111111"; //password

session_start();
$dbname=$_SESSION['sessdatabasename'];

$dbname="user_99k_org_database"; //database name


After i login my system that i upload (could work properly on my pc as localhost),no error message about username and password connect to database.

however it come out the error message as follow
QUOTE
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /www/99k.org/w/i/l/..........php on line 28
sds
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /www/99k.org/w/i/l/......php on line 30


the related page and code as follow
QUOTE
$sql="SELECT * FROM userinfo WHERE user_id='$userid'";
$query=mysql_query($sql);

$totaluname=mysql_num_rows($query); //--line 28

$data=mysql_fetch_array($query); //--line 30


all the system and related database upload successfully and whole system can run properly and smoothly on my localhost pc