Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   Server Status PHP Scripts (https://postpacific.loc-online.com/showthread.php?t=8144)

gunesahmet 27.07.2007 08:29

Server Status PHP Scripts
 
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=>"Warlo rd",
4=>"Knight",5=>"Paladin",6=>"Dark_avenger",7=>"Rog ue",
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_s cout",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=>"Bla dedancer",35=>"Assasin",
36=>" Abyss_walker",37=>"Phantom_ranger",38=>"Dark_mage" ,39=>"Dark_wizard",
40=>"Spellhowler",41=>"Phantom_summoner",42=>"Shil lien_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=>"Scavenge r",55=>"Bounty_hunter",
56=>"Artisan", 57=> "Warsmith"
);

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




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

Yui-Ikari 27.07.2007 16:43

"search"
 
https://postpacific.loc-online.com/f...+server+script
https://postpacific.loc-online.com/f...ght=php+script
https://postpacific.loc-online.com/f...ght=php+script
https://postpacific.loc-online.com/f...+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
PHP Code:

<?
$mssql_addr
="localhost";

top_heroes.php
PHP Code:

mssql_connect($mssql_server,$mssql_user,$mssql_pass); 

online.php
PHP Code:

mssql_connect($mssql_server,$mssql_user,$mssql_pass); 

$mssql_addr != $mssql_server


All times are GMT. The time now is 16:20.