Jump to content
  • 0

[Help]Php Status for Website


Question

Posted

Καλησπερα σε ολους...

Παλαιοτερα ειχα επιχειρησει να φτιαξω php status για PvP/PK κλπ..

αλλα δεν ειχα καταφερει κατι..

Ειχα και Ucoz Site και δεν αξιζε να δοκιμασω περισσοτερα...Τωρα εχω κανει site με το FileZilla απο ενα ετοιμο Template...και οπως καταλαβαινετε θελω να κανω add sto menu Top Lists..

Δεν ξερω τι εκανα λαθος αλλα δεν γινοταν να συνδεθει στο Νavicat..

Αν ειναι δυνατο θελω καποιος να μου κανει εναν οδηγο που να εξηγει πληρως πως να το κανω.Τα php αρχεια για PVP/PK κλπ τα εχω... αλλα δεν ξερω καλα την διαδικασια

Ευχαριστω.

Recommended Posts

  • 0
Posted

Mpwreis na kaneis Search sto Forum..

 

Prwtwn ta Ucoz site dn exoun php support..Opote tha sou protina na agwraseis web hosting,domain

 

Allios ama thes Free pare www.000webhosting.com kane Register Account Logare sto FTP Perna ta arxeia pou thes na kaneis add..

  • 0
Posted

ola ayta ta exw kanei...alla dn mporei na sinde8ei stin database..

leei cann't connect to mysql server on 192.168.1.5

  • 0
Posted

Ayto einai to error.. ka8ws to dokimasa kai me diskw..egw ta vlepw me to ip 192.168.1.5

alla oi alloi me to IP tou internet kai me to host tis no-ip dn ginete na to doun..

 

PHP Error Message

 

Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on '192.168.1.5' (4) in /home/a4794672/public_html/server_status/pvp_kill.php on line 27

 

Free Web Hosting

Can't connect to MySQL server on '192.168.1.5' (4)

  • 0
Posted

Ayto einai to error.. ka8ws to dokimasa kai me diskw..egw ta vlepw me to ip 192.168.1.5

alla oi alloi me to IP tou internet kai me to host tis no-ip dn ginete na to doun..

 

PHP Error Message

 

Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on '192.168.1.5' (4) in /home/a4794672/public_html/server_status/pvp_kill.php on line 27

 

Free Web Hosting

Can't connect to MySQL server on '192.168.1.5' (4)

exeis balei sosta tis ru8miseis gia na mporei to script na sunde8ei stin db sou ? episeis otan ru8mises gia proti fora to mysql klikares na dexete remote access??? kai episeis exeis pass gia tin db sou ? an oxi dokimase na baleis kai pass

 

  • 0
Posted

edw lei "mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on '192.168.1.5' (4) in /home/a4794672/public_html/server_status/pvp_kill.php on line 27"    pos exis kani lathos sto line 27 sigoura dn evale kati stis rithmisis k to ip p evales sigoura einai auto?? des t ola vsk db name db pass k to ip s

  • 0
Posted

edw lei "mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on '192.168.1.5' (4) in /home/a4794672/public_html/server_status/pvp_kill.php on line 27"    pos exis kani lathos sto line 27 sigoura dn evale kati stis rithmisis k to ip p evales sigoura einai auto?? des t ola vsk db name db pass k to ip s

swsta einai ayta..to php to phra apo ena share.. dn nmzw na einai la8os..afou an to kanw me ka8aro diskw... egw ta vlepw tous top..

  • 0
Posted

to remote access p einai??

otan kaneis install to mysql kai meta to ru8mizeis sto telos ekei pou bazeis to pass kai to user name  apo kato apo  auta sou leei na epitrepseis remote access ,tikareto.parakato sou dixnw ena php script gia top cp players na deis pws ri8mizete.Se orismena script 8a prepei na baleis kai tin port tou mysql:

 

 

<html>
<head>
<title>Lineage2-X Top 50 Combat Points</title>
<style type="text/css">
<!--
.style5 {font-size: 11px; font-family: Arial, Helvetica, sans-serif; font-weight: bold; }
.style8 {font-size: 11px; font-family: Arial, Helvetica, sans-serif; }
body {
background-color: #EBEBEB;
}
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /></head>
<body>
<?

$servidor = "Edw i internet ip sou h to no-ip sou";
$usuario  = "EDW to User Name sou";
$senha    = "Edw to pass sou ";
$banco    = "kai edw to onoma tis db sou .px l2jdb";


$conexao = mysql_connect($servidor, $usuario, $senha) or die(mysql_error());
mysql_select_db($banco, $conexao) or die(mysql_error());


$ordem = empty($_GET['o']) ? 'maxCp' : base64_decode($_GET['o']);
$sql = mysql_query("SELECT * FROM characters ORDER BY ".$ordem." DESC LIMIT 3") or die(mysql_error());



$array = array('pvpkills' => 'PVP Kills',
		   'pkkills'  => 'PK Kills',
		   'level'    => 'Level',
		   'karma'    => 'Karma',
		   'maxHp'	  => 'Health Points',
		   'maxMp'    => 'Mana Points',
		   'maxCp'    => 'Combat Points',
		   'rec_have' => 'Reccomendations'
		  );
?>
<table width="100%" border="1" bordercolor="#EBEBEB">
  <tr bordercolor="#CCCCCC" bgcolor="#CCCCCC">
    <td width="8%"><span class="style5">Position:</span></td>
    <td width="35%"><span class="style5">Char Name: </span></td>
    <td width="21%"><span class="style5"><?php echo $array[$ordem]; ?> </span></td>
    <td width="36%"><span class="style5">Clan:</span></td>
  </tr>
<?
$i = 1;
$cor = 0;
while($a = mysql_fetch_object($sql)) {
$cor = $cor + 1;
$bg  = $cor % 2 == 0 ? '#F1F1F1' : '#E8E8E8';

if($i == 1) {
$img = "<img src=\"top1.gif\" alt=\"1º Lugar\">";
}elseif($i == 2) {
$img = "<img src=\"top2.gif\" alt=\"2º Lugar\">";
}elseif($i == 3) {
$img = "<img src=\"top3.gif\" alt=\"3º Lugar\">";
}else{
$img = $i."º ";
}

$clan = mysql_query("SELECT * FROM clan_data WHERE clan_id = '".$a->clanid."'") or die(mysql_error());
$clans = mysql_fetch_object($clan);


$clans->clan_name = empty($clans->clan_name) ? 'No info.' : $clans->clan_name;
?>
  <tr bordercolor="<?php echo $bg; ?>" bgcolor="<?php echo $bg; ?>" class="style8">
    <td><?php echo $img; ?></td>
    <td><?php echo $a->char_name; ?></td>
    <td><?php echo $a->$ordem; ?></td>
    <td><?php echo $clans->clan_name; ?></td>
  </tr>
<?
$i++;
}
?>
</table>
</body>
</html>

  • 0
Posted

nai

lipon..kanw start to diskw apo to start.bat ,tous vlepw egw tous prwtous 3... alla an stilw kapion to ip.. (hipmou.no-ip.biz/server_status/combat.php

dn tou vgazei tpt sto browser t..(ani3a remote access) ti sto dialo fteei?

  • 0
Posted

lipon..kanw start to diskw apo to start.bat ,tous vlepw egw tous prwtous 3... alla an stilw kapion to ip.. (hipmou.no-ip.biz/server_status/combat.php

dn tou vgazei tpt sto browser t..(ani3a remote access) ti sto dialo fteei?

file epidi hostareis esy to site kai logika exeis mikro upload argei kai diakoptete i syndesh dokimase na to baleis se kapio server me free hosting kai prosap8ise xana (nomizo dld aliws fere papa na sou xorkisei to pc :p)
Guest
This topic is now closed to further replies.


  • Posts

    • WTB GRACIA FINAL INTERFACE
    • Dear partners! At the moment we are in great need of the following positions: — Snapchat old and new accounts | With snapscores | Geo: Europe/USA | Full access via email/phone number — Reddit old (brute or hacked origin, self-registered) accounts with post and comment karma from 100 to 100,000+ | Full email access included — LinkedIn old accounts with real connections | Geo: Europe/USA | Full email access + active 2FA password — Instagram old accounts (2010–2023) | Full email access (possibly with active 2FA password) — Facebook old accounts (2010–2023) | Full email access (possibly with active 2FA password) | With friends or without friends | Geo: Europe/USA/Asia — Threads accounts | Full email access (possibly with active 2FA password) — TikTok/Facebook/Google ADS Agency advertising accounts — Email accounts: mail.ru, yahoo.com, gazeta.pl, gmx.ch / gmx.de / gmx.net (BUT NOT gmx.com) — Google ADS Manual Farm accounts (verified via email and phone number) | GEO: USA/Europe, mostly USA. — WhatsApp OLD Accounts — Twitter accounts with followers and posts (old accounts) Contact us via the details below. We will be glad to cooperate! We are also ready to consider other partnership and collaboration options. Active links to our projects: Digital goods store (Website): Go to Store Telegram bot: Go to – convenient access to the store via the Telegram messenger. Virtual numbers service: Go to Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram. SMM Panel: Go to – promotion of your social media accounts. Contacts and support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Dear partners! At the moment we are in great need of the following positions: — Snapchat old and new accounts | With snapscores | Geo: Europe/USA | Full access via email/phone number — Reddit old (brute or hacked origin, self-registered) accounts with post and comment karma from 100 to 100,000+ | Full email access included — LinkedIn old accounts with real connections | Geo: Europe/USA | Full email access + active 2FA password — Instagram old accounts (2010–2023) | Full email access (possibly with active 2FA password) — Facebook old accounts (2010–2023) | Full email access (possibly with active 2FA password) | With friends or without friends | Geo: Europe/USA/Asia — Threads accounts | Full email access (possibly with active 2FA password) — TikTok/Facebook/Google ADS Agency advertising accounts — Email accounts: mail.ru, yahoo.com, gazeta.pl, gmx.ch / gmx.de / gmx.net (BUT NOT gmx.com) — Google ADS Manual Farm accounts (verified via email and phone number) | GEO: USA/Europe, mostly USA. — WhatsApp OLD Accounts — Twitter accounts with followers and posts (old accounts) Contact us via the details below. We will be glad to cooperate! We are also ready to consider other partnership and collaboration options. Active links to our projects: Digital goods store (Website): Go to Store Telegram bot: Go to – convenient access to the store via the Telegram messenger. Virtual numbers service: Go to Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram. SMM Panel: Go to – promotion of your social media accounts. Contacts and support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • 冬天是享受优惠、省钱的好时机。 首次下单时使用促销码 SOCNET 即可获得 15% 折扣 ,适用于全场商品! 前往商店(网站) 前往商店(Telegram 机器人)
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock