View Single Post
  #3  
Unread 28th April, 2010, 11:11 PM
[G4U]The_Sp00nHead [G4U]The_Sp00nHead is offline
Rampage
 
Join Date: Jul 2008
Posts: 57
Default

No problem Matthew,

PHP Code:
<?php
/**
 * Database Constants - these constants are required
 * in order for there to be a successful connection
 * to the MySQL database. Make sure the information is
 * correct.
 */
define("DB_SERVER""localhost");
define("DB_USER""REMOVED");
define("DB_PASS""REMOVED");
define("DB_NAME""REMOVED");

/**
 * The universe name and password; you must give this
 * to participating servers before they can connect to this installation.
 * Be descriptive with the Universe ID. For example, if your community
 * is called "Sniper Alliance", this would also be a good Universe ID.
 * DO NOT USE SIMPLE NAMES LIKE 'universe', 'unreal', 'ut', 'server',
 * etc etc - you need to be specific!!!
 */
define("UNIVERSE_ID""games4u");
define("UNIVERSE_PASS""REMOVED");

/**
 * The primary admin of this installation, the name and e-mail
 * address will be displayed to users
 */
define("UNIVERSE_ADMIN_NAME""[G4U]The_Sp00nHead");
define("UNIVERSE_ADMIN_EMAIL""[email protected]");

// you must correctly enter the world-viewable URL to this installation, and it *MUST END IN A FORWARD SLASH!*
define("UNIVERSE_URL""http://www.g4ucommunity.co.uk/UniversalUnreal/");

// welcome message on the front page, change to define("PORTAL_MSG", ""); to disable
define("PORTAL_MSG""Welcome to our new installation of Universal Unreal!");

/**
 * Log Player Data - if you wish to have Universal Unreal
 * save data from participating servers about player
 * joins, administrative actions, etc, set this True
 */
define("LOG_PLAYER_DATA",True);

/**
 * Email Constants - these specify what goes in
 * the from field in the emails that Universal Unreal
 * sends to users
 */
define("EMAIL_FROM_NAME""Games 4 U Universe");
define("EMAIL_FROM_ADDR""[email protected]");

/**
 * SMTP Constants - by default, Universal Unreal
 * uses PHP's built-in mail() function for sending e-mail.
 * Should you need to use SMTP for sending mail,
 * set SMTP_USE to True and and fill in
 * the appropriate information.
 */
define("SMTP_USE",False);
define("SMTP_HOST""mail.myhost.com");
define("SMTP_PORT"25);
define("SMTP_USERNAME","someuser");
define("STMP_PASSWORD","somepass");

/**
 * Some web server hosting companies don't allow
 * what is called 'url fopen' for their own security.
 * However, this is the primary way that Universal Unreal
 * transmits data. If your host has the cURL libraries
 * installed, Universal Unreal can use these instead.
 * Set QUERY_METHOD to 0 to use url fopen,
 * and if you have issues try setting QUERY_METHOD
 * to 1 to use cURL instead (if installed)
 */
define("QUERY_METHOD",0);

// =========================================================================
// Do not edit below this line unless you know exactly what you are doing!
// =========================================================================





/**
 * Timeout Constants - these constants refer to
 * the maximum amount of time (in minutes) after
 * their last page fresh that a user and guest
 * are still considered active visitors. We
 */
define("USER_TIMEOUT"5);
define("GUEST_TIMEOUT"5);

/**
 * Cookie Constants - these are the parameters
 * to the setcookie function call, change them
 * if necessary to fit your website. If you need
 * help, visit www.php.net for more info.
 * <http://www.php.net/manual/en/function.setcookie.php>
 */
define("COOKIE_EXPIRE"60*60*24*180);  //180 days by default
define("COOKIE_PATH""/");  //Avaible in whole domain

// Version 111, Build 01
define("BUILD","11101");
?>
this is slownly driving me insane, i have checked and
double checked everything I can think of.
If it will help i'll PM you with a link to a phpinfo script
on the same webserver.

Thanks for replying m8,

Sp00neY
__________________
Reply With Quote