<?php
/*
Copyright (C) 2009 Murad <Murawd>
Josh L. <Josho192837>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if(basename($_SERVER["PHP_SELF"]) == "database.php"){
die("403 - Access Forbidden");
}
/* MySQL Connection Information */
// Where is MySQL Hosted? If you aren`t sure, just leave it as "localhost"
$host = "localhost";
// Database Username - Usually "root"
$user = "root";
// Database Password - Usually "root". If you don`t have a password, or are not sure, leave it blank.
$pass = "";
// Database Name - Usually "odinms"
$database = "odinms";
// What is the server`s Wan IP
$serverip = "24.185.184.8";
// What is your server`s log in port - Don`t change if you aren`t sure.
$loginport = "3306";
// What is your server`s world port - Don`t change if you aren`t sure.
$worldport = "8484";
/* Don`t touch. */
$conn = mysql_connect($host,$user,$pass);
$db = mysql_select_db($database, $conn) or die(mysql_error());
?>