View file news/config.php

File size: 421B
<?php
$dblocation='localhost';
$dbname='wap';
$dbuser='sa';
$dbpasswd='9662308';
$dbcnx=mysql_connect($dblocation,$dbuser,$dbpasswd);
if(!$dbcnx)
die(mysql_error());
mysql_select_db($dbname,$dbcnx);
mysql_unbuffered_query("SET `character_set_client` = 'utf8';");
mysql_unbuffered_query("SET `character_set_results` = 'utf8';");
mysql_unbuffered_query("SET `collation_connection` = 'utf8_general_ci';");


?>