Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 27.07.2007, 08:29   #1
gunesahmet
Архивный участник
 
Join Date: Jun 2007
Posts: 8
Default 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 байт
gunesahmet is offline  
Old 27.07.2007, 08:45   #2
Dmytro
Архивный участник
 
Join Date: Nov 2005
Posts: 215
Default

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
Dmytro is offline  
Old 27.07.2007, 09:50   #3
Forcer
Архивный участник
 
Join Date: Apr 2006
Posts: 554
Default

Wrong section dude xD
p.s You should little learn PHP.
Forcer is offline  
Old 27.07.2007, 16:31   #4
gunesahmet
Архивный участник
 
Join Date: Jun 2007
Posts: 8
Default

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 ....
gunesahmet is offline  
Old 27.07.2007, 19:40   #6
Fot@r@s
Архивный участник
 
Join Date: Mar 2007
Posts: 118
Default

Take this... the adresses of MSSQL were wrong... and you haven't 3rd classes in config i added them

Вложения из исходного сообщения (сами файлы в копии отсутствуют):
server_info.rar — 2884 байт
Fot@r@s is offline  
Old 27.07.2007, 21:24   #7
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

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
FidoW is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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