?? $web_site_title = ""; /* 连接选择数据?*/ $mysql_host_port = 'localhost:3306'; $mysql_user = 'chinatwd_michael'; $mysql_password = 'p28002800'; $db_name = 'chinatwd_wedding520net'; /** $mysql_host_port = 'localhost:3306'; $mysql_user = 'root'; $mysql_password = '111111'; $db_name = 'vivi'; */ $link = mysql_connect($mysql_host_port,$mysql_user,$mysql_password) or die("Could not connect"); $serverset = "character_set_connection='utf8', character_set_results='utf8', character_set_client='binary'"; mysql_query("SET $serverset"); mysql_select_db("$db_name") or die("Could not select database"); $web_url = $_SERVER['PHP_SELF']; $web_url = strrchr($web_url,"/"); $web_url = str_replace("/","",$web_url); ?>
Warning: mysql_query(): Access denied for user 'chinatwd'@'localhost' (using password: NO) in /home/chinatwd/public_html/wedding520.net/_site_info.php on line 4

Warning: mysql_query(): A link to the server could not be established in /home/chinatwd/public_html/wedding520.net/_site_info.php on line 4

Warning: mysql_query() expects parameter 2 to be resource, null given in /home/chinatwd/public_html/wedding520.net/_site_info.php on line 5
db query false