config.php help - please help nfo!

Connect with other users about what to run on your webhosting (and how to run it) here.
Post Reply
User avatar
ReV|Donatello
This is my homepage
This is my homepage
Posts: 103
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Thu Nov 11, 2004 4:25 pm
Location: Upland, California
Contact:

config.php help - please help nfo!

Post by ReV|Donatello »

ok there is my config im trying to get stats on my page from manis admin plugin. Im making a simple mistake of were the stats file should be i beleive. Please help me i dont no how im dumb.
this is what i have so far: http://nba1341.nuclearfallout.net/cs_st ... hp?pgnum=1
what do i need to edit in this config
<?
// FTP Information
$ftp['server'] = "rev1341.nuclearfallout.net"; // IP or name of FTP server
$ftp['port'] = "21"; // FTP port - 21 is default port
$ftp['login'] = "xxx"; // FTP user login name
$ftp['passwd'] = "xxx"; // FTP user password
$ftp['passive'] = true; // Passive or active mode for FTP (true = passive, false = active)
$ftp['use'] = true; // USE FTP for get stats file? (true = yes, false = no)

// Path's , filenames and settings
$cfg['serverpath'] = "../cstrike/cfg/mani_admin_plugin/"; // default server path
$cfg['serverfile'] = "mani_ranks.txt"; // Mani Admin Plugin stats file
$cfg['localfile'] = "mani_ranks.txt"; // Stats file on your web server

// MySQL Settings
$sql['host'] = "localhost"; // MySQL host
$sql['login'] = "xxx"; // MySQL login name
$sql['password'] = "xxx"; // MySQL password
$sql['db'] = "xxx"; // name of MySQL database
$sql['table'] = "manistats"; // name of MySQL data table (must be different than config table name!)
$sql['cfg_table'] = "stats_config"; // name of MySQL configuration table
User avatar
Nick|NFo
Former staff
Former staff
Posts: 2252
Joined: Sun Mar 30, 2003 1:56 pm
Location: 127.0.0.1

Post by Nick|NFo »

you need to edit them all

all the info you need is on the website tab of your control panel, such as mysql: login, password, and database. Also the ftp info: username and pass.

as for mysql host, use mysql.nuclearfallout.net
-Nick
User avatar
ReV|Donatello
This is my homepage
This is my homepage
Posts: 103
Joined: Thu Nov 11, 2004 4:25 pm
Location: Upland, California
Contact:

Post by ReV|Donatello »

o it worked awsome thanks!
Post Reply