exw valei sto site m bars gia total characters, accounts, top pvp ktl ktl
ala an px i database den ine prosvasimi m vgazei ena megalo error k logo tou tropou p ine ta bars sto site, me to error megalwnei k m g@maei to site, to bg kovete sti mesi e3afanizete i bara me ta votes kai ala...
(to error: Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /home/xxx/public_html/config/stats.php on line 8. Coudn't connect to ["IP"] )
iparxei kapios tropos, na to kanw na min vgazei olo auto to error ala kati opos "Connection Problem"?
Ta scripts p exw einai:
<?php include "config/stats.php" ?>
<?php
mysql_connect($db_serv,$db_user,$db_pass) or die (mysql_error());
mysql_select_db($db_name) or die(mysql_error());
//Total Accounts
$query = ("SELECT * FROM accounts WHERE accesslevel>=0");
$result = mysql_query($query) or die(mysql_error());
$acc2=mysql_numrows($result);
//Total Characters
$query = ("SELECT * FROM characters WHERE accesslevel>=0");
$result = mysql_query($query) or die(mysql_error());
$char2=mysql_numrows($result);
//Clan
$get_config_data="SELECT clan_id FROM clan_data";
$query = ("SELECT clan_id FROM clan_data WHERE clan_id>0");
$result = mysql_query($query) or die(mysql_error());
$clan2=mysql_numrows($result);
mysql_close();
mysql_connect($db_serv,$db_user,$db_pass) or die (mysql_error());
mysql_select_db($db_name) or die(mysql_error());
?>
Total Accounts: <?php print ("$acc2"); ?><br>
Total Characters: <?php print ("$char2"); ?><br>
Total Clans: <?php print ("$clan2"); ?><br>
<a href="top_50_pvp.php" class="mainlevel-nav">Top 50 PvP</a><br>
<a href="top_50_pk.php" class="mainlevel-nav">Top 50 Pk</a><br>
DISCORD :
https://discord.com/users/325653525793210378
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/uthciha-services
https://campsite.bio/utchihaamkt
Question
xMrPwN
kalispera pedia, 8elw help se kt ligo para3eno...
exw valei sto site m bars gia total characters, accounts, top pvp ktl ktl
ala an px i database den ine prosvasimi m vgazei ena megalo error k logo tou tropou p ine ta bars sto site, me to error megalwnei k m g@maei to site, to bg kovete sti mesi e3afanizete i bara me ta votes kai ala...
(to error: Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /home/xxx/public_html/config/stats.php on line 8. Coudn't connect to ["IP"] )
iparxei kapios tropos, na to kanw na min vgazei olo auto to error ala kati opos "Connection Problem"?
Ta scripts p exw einai:
0pi0s 3erei as help ligo (:
11 answers to this question
Recommended Posts