PDA

View Full Version : Server Status PHP Scripts


gunesahmet
27.07.2007, 08:29
I have a status script. But i dont work that. Please someone explain this script how to configuration and fix. thx.
Sory for my eng...

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
server_info(1).zip — 2770 байт

Dmytro
27.07.2007, 08:45
You know about how administrate server?
About PHP, Notepad?
About how to configure programs and databases?

If not, you will be hard without that knowledges. ;)

P.S. hxxp://www.php.net

Forcer
27.07.2007, 09:50
Wrong section dude xD
p.s You should little learn PHP.

gunesahmet
27.07.2007, 16:31
I know guys. I did fixed for my machine.
<?
$mssql_addr="My_Server_IP";
$mssql_user="MY_MSSQL_Server_USER";
$mssql_pass="_MY_MSSQL_SERVER_PASSWORD";
$mssql_db="lin2world";

$class_list=array(
0=>"Fighter",1=>"Warrior",2=>"Gladiator",3=>"Warlord",
4=>"Knight",5=>"Paladin",6=>"Dark_avenger",7=>"Rogue",
8=>"Treasure_hunter",9=>"Hawkeye",10=>"Mage",11=>"Wizard",
12=>"Sorcerer",13=>"Necromancer",14=>"Warlock",15=>"Cleric",
16=>"Bishop",17=>"Prophet",18=>"Elven_fighter",19=>"Elven_knight",
20=>"Temple_knight",21=>"Swordsinger",22=>"Elven_scout",23=>"Plains_walker",
24=>"Silver_ranger",25=>"Elven_mage",26=>" Elven_wizard",27=>" Spellsinger",
28=>"Elemental_summoner ",29=>"Oracle",30=>"Elder",31=>"Dark_fighter",
32=>"Palus_knightr",33=>"Shillien_knight",34=>"Bladedancer",35=>"Assasin",
36=>" Abyss_walker",37=>"Phantom_ranger",38=>"Dark_mage",39=>"Dark_wizard",
40=>"Spellhowler",41=>"Phantom_summoner",42=>"Shillien_oracle",43=>"Shilien_elder",
44=>"Orc_fighter",45=>"Orc_raider",46=>"Destroyer",47=>"Orc_monk",
48=>"Tyrant",49=>"Orc_mage",50=>"Orc_shaman",51=>"Overlord",
52=>"Warcryer",53=>"Dwarven_fighter",54=>"Scavenger",55=>"Bounty_hunter",
56=>"Artisan", 57=> "Warsmith"
);

//all these heroes will be excluded from top list
$exclude_from_top=array(
"Sozedatel","Necromanser","Trader","DADA","GMBlackSmith","Nosferatos",
"Fantasy","LisKa","Stealth","KLERIK","SuperVint","Berkut","WishMaster",
"GRUZ","FrothenFire","Baby","JanKy","Gizmo","Malish","KPOXA","Mordak"
);
?>




But it doesnt work. Please help me ....

Yui-Ikari
27.07.2007, 16:43
https://postpacific.loc-online.com/forums/showthread.php?t=6982&highlight=online+server+script
https://postpacific.loc-online.com/forums/showthread.php?t=7094&highlight=php+script
https://postpacific.loc-online.com/forums/showthread.php?t=7931&highlight=php+script
https://postpacific.loc-online.com/forums/showthread.php?t=407&highlight=online+server+script

Fot@r@s
27.07.2007, 19:40
Take this... the adresses of MSSQL were wrong... and you haven't 3rd classes in config i added them ;)

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
server_info.rar — 2884 байт

FidoW
27.07.2007, 21:24
config.php

<?
$mssql_addr="localhost";


top_heroes.php

mssql_connect($mssql_server,$mssql_user,$mssql_pas s);


online.php

mssql_connect($mssql_server,$mssql_user,$mssql_pas s);


$mssql_addr != $mssql_server