Jump to content

Cs Monitors


Recommended Posts

Veidoju Counter-Strike1.6 monitoru priekš sava servera. Lai to izveidotu izmantoju 10BaseT pamācību. Viss ir labi līdz lieku monitoru virs Izvēlnes. Pats monitors strādā nevainojami, bet webā izlec errori par mysql, bildee var labi redzēt!

mu.jpg

Lūdzu palīdziet!

Edited by Narkomaans
Link to comment
Share on other sites

Tādēļ, ka tev nav izveidots config fails, kurā būtu visi parametri ar kuru palīdzību tava lapu varētu piekonektēties pie mysql

<?php
    $db_host = 'db_hosts';
    $db_user = 'db_uname';
    $db_password = 'db_parole';
    $db_name = 'db_vards';
    $connection = mysql_connect($db_host, $db_user, $db_password) or die(mysql_error());
    mysql_select_db($db_name, $connection);
    mysql_query("SET NAMES utf8");
    ?>

Edited by _Yu-Gi-Oh__
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...