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
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 thereQuote:
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 :)
You could addQuote:
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
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 pleaseQuote:
hehe , funny
what do you mean whit status ?? like my homepage so you see the real online players ?? ([Only registered and activated users can see links. Click Here To Register...]) 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