Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Eudemons Online > EO PServer Hosting
You last visited: Today at 16:03

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



How to show status on webpage

Discussion on How to show status on webpage within the EO PServer Hosting forum part of the Eudemons Online category.

Reply
 
Old   #1
 
cainturok's Avatar
 
elite*gold: 0
Join Date: May 2007
Posts: 146
Received Thanks: 27
How to show status on webpage

How do u show ur status of ur server on your web page , without having people click the link status . Were u can see it on the main web page
cainturok is offline  
Old 11/21/2008, 08:18   #2
 
elite*gold: 0
Join Date: Sep 2008
Posts: 806
Received Thanks: 321
Try to use front page and add the status page by code
Spy520 is offline  
Old 11/21/2008, 09:21   #3
 
elite*gold: 0
Join Date: Mar 2008
Posts: 124
Received Thanks: 6
First.

Do you will need add it on your index.
<?PHP
include("config.php");
require 'config.php';
?>

Later this, do you will need create the archive config.php, do you can create at notepad and save as config.php
do it:
<?php
require_once './inc/class.captcha.php';
// Configurations
$myhost="localhost";
$mypass="test";
$myuser="test";
$mydbacc="account";
$teste="teste";
$mydbdata="my";
$serveraddress="127.0.0.1";
$serverport=5816;
// Domt Edit after this
mysql_connect($myhost,$myuser,$mypass);
?>


later.
do you will back to index and insert the codes of type.

for you seen the number of accounts registers.

Ex.:

<?php
mysql_select_db($mydbacc);
$res = mysql_query("SELECT count(*) FROM account;");
$val = mysql_fetch_array($res);
echo "Total de Contas: ".$val[0]."<br />";?></td>
?>

If i help-you, please tanks me
BetuDM is offline  
Old 11/21/2008, 09:34   #4
 
cainturok's Avatar
 
elite*gold: 0
Join Date: May 2007
Posts: 146
Received Thanks: 27
Quote:
Originally Posted by BetuDM View Post
First.

Do you will need add it on your index.
<?PHP
include("config.php");
require 'config.php';
?>

Later this, do you will need create the archive config.php, do you can create at notepad and save as config.php
do it:
<?php
require_once './inc/class.captcha.php';
// Configurations
$myhost="localhost";
$mypass="test";
$myuser="test";
$mydbacc="account";
$teste="teste";
$mydbdata="my";
$serveraddress="127.0.0.1";
$serverport=5816;
// Domt Edit after this
mysql_connect($myhost,$myuser,$mypass);
?>


later.
do you will back to index and insert the codes of type.

for you seen the number of accounts registers.

Ex.:

<?php
mysql_select_db($mydbacc);
$res = mysql_query("SELECT count(*) FROM account;");
$val = mysql_fetch_array($res);
echo "Total de Contas: ".$val[0]."<br />";?></td>
?>

If i help-you, please tanks me
umm that basically is the normal one were all u gotta do is put my ipadresin and put /status.php i am talking about a seeable status on my webpage no clicking to open another page to see the status its already there
cainturok is offline  
Old 11/21/2008, 21:08   #5
 
elite*gold: 0
Join Date: Nov 2007
Posts: 24
Received Thanks: 2
Quote:
Originally Posted by cainturok View Post
umm that basically is the normal one were all u gotta do is put my ipadresin and put /status.php i am talking about a seeable status on my webpage no clicking to open another page to see the status its already there
You could add

<?php
mysql_select_db($mydbacc);
$res = mysql_query("SELECT count(*) FROM account;");
$val = mysql_fetch_array($res);
echo "Total de Contas: ".$val[0]."<br />";?></td>
?>

to every one of your pages..That is what I will be doing myself.
usdachoice is offline  
Old 11/22/2008, 01:50   #6

 
PowerChaos's Avatar
 
elite*gold: 90
Join Date: Feb 2008
Posts: 1,112
Received Thanks: 642
hehe , funny

what do you mean whit status ?? like my homepage so you see the real online players ?? () at the bothom ??

or do you mean just the code of the status script ??

if you mean real time online players then forget those php scripts they gave you , they doesnt works .. lol (it stays on 0 and it will stay on that number in your db )

to get the real code , go look at some of my posts , i got it from there to

or els , if you cant find it i will repost it


or do you mean like on my page , intregrated into my website ??
so from the moment you open your webiste that you see a nice page that shows the real time status of your server/website ??
Greets From The Crasher
PowerChaos is offline  
Old 11/22/2008, 07:54   #7
 
DeathNoteEO's Avatar
 
elite*gold: 0
Join Date: Nov 2008
Posts: 212
Received Thanks: 242
Quote:
Originally Posted by The Crasher View Post
hehe , funny

what do you mean whit status ?? like my homepage so you see the real online players ?? () at the bothom ??

or do you mean just the code of the status script ??

if you mean real time online players then forget those php scripts they gave you , they doesnt works .. lol (it stays on 0 and it will stay on that number in your db )

to get the real code , go look at some of my posts , i got it from there to

or els , if you cant find it i will repost it


or do you mean like on my page , intregrated into my website ??
so from the moment you open your webiste that you see a nice page that shows the real time status of your server/website ??
Greets From The Crasher
ok i mean like powerchaos excatly like that . and btw i am cainturok just i use this for deathnoteeo stuff and yes can u explain to me please
DeathNoteEO is offline  
Reply


Similar Threads Similar Threads
Start ks4 without Webpage!!!!
07/18/2011 - S4 League - 53 Replies
German/Deutsch: Diese Datei erlaubt es, das koreanische s4 League ohne betreten der Website zu starten, wobei es sich zum öffentlich gemachten Account (Hier klicken zum Thread) einloggt. Leider habe ich keine Ahnung wie man das mit einem anderen Account macht denn die Argumente oder so, die zum Client gesendet werden, um das Spiel zu starten sind bei jedem Account anders, und ich selbst hab sie beim öffentlich gemachten Account nicht rausgefunden, sondern Sucre ^^ English: This file...
Newlongju - The WebPage
10/14/2009 - Metin2 Private Server - 0 Replies
Hey, guys. Why page: hxxp://passport.newlongju . cn is off?? Give me a new page for Newlongju :) Thanks
Offical Co webpage
04/13/2009 - CO2 Private Server - 19 Replies
heey people im going to release the offical co website its an small release and its onley for people who want to download it. guide how to setup the site: 1.find an ftp client on google. 2.You can also download appsev and run it on your ip (Lan ip)
[HELP] Cannot Get Rank To Show Diff Status
09/22/2008 - CO2 Private Server - 0 Replies
Hello Can I Ask If Anyone Can H elp Me With This Problem It Is Hard For Me But It Might Be Easy For Your I Have Tried For Over 2 Hours And i Cannot Figure This Out So The Problem Is With My Rank On Webs It Only Shows Status 0 I Want To Make It Show Status 5 =VIP Here The Code For My Lvl Rank Section Can Someone Please Help Me $sql = "SELECT c.Level as Level, c.CharName as CharName, c.Job as Job FROM ...



All times are GMT +1. The time now is 16:03.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.