View Single Post
  #1 (permalink)  
Old 2008-03-16, 01:15 AM
gom gom is offline
Junior Member
 
Join Date: Mar 2008
Posts: 3
gom is on a distinguished road
Default PHP/MYSQL help needed....please.

I am very new to this, and I could really appreciate any help.

I created a database called "mwalid_database". The username is "mwalid_user". The database password is "password". The main user is "commish".

My localhost address is "mysql30.ixwebhosting.com"

Here is the original file I am to edit:

Quote:
<?
$db_user = "DBUSER";
$db_pass = "DBPASS";
$db_mysql = "DBNAME";
$main_user = "ADMIN USER";
if (!defined('NUKE'))
define('NUKE',0);
// Added to see if we are using PhP Nuke or not
if (constant("NUKE")==0)
{
$dbi=mysql_connect ("localhost", "$db_user", "$db_pass");
mysql_select_db ("$db_mysql",$dbi);
}
else
{
require_once("mainfile.php");
}
global $prefix, $dbi;
?>
I am not using nuke.

As far as I can see, I made the following changes:

Quote:
<?
$db_user = "mwalid_user";
$db_pass = "password";
$db_mysql = "mwalid_database";
$main_user = "commish";
if (!defined('NUKE'))
define('NUKE',0);
// Added to see if we are using PhP Nuke or not
if (constant("NUKE")==0)
{
$dbi=mysql_connect ("mysql30.ixwebhosting.com", "mwalid_user", "password");
mysql_select_db ("mwalid_database",$dbi);
}
else
{
require_once("mainfile.php");
}
global $prefix, $dbi;
?>
I am able to create users, but no attempts at logging in, either by creating a normal or superuser, makes any difference. I get a login un-successful every time. The URL for the website is www.talksoxbbl.com/bosi/standings.php?lid=#

If anyone can post/email or IM me at AOL sith712, I'd appreciate it. TIA.
Reply With Quote
Sponsored Links