ok in my config.php and logprocess.php it tells me this error n i cant figure it out if anyone has aim or icq or msn it would be easier to talk plz
Warning: Access denied for user: 'xero4@abused1.freakwebhosting.com' (Using password: YES) in /home/xero4/public_html/logprocess.php on line 3
Warning: MySQL Connection Failed: Access denied for user: 'xero4@abused1.freakwebhosting.com' (Using password: YES) in /home/xero4/public_html/logprocess.php on line 3
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/xero4/public_html/logprocess.php on line 7
Warning: Cannot add header information - headers already sent by (output started at /home/xero4/public_html/logprocess.php:3) in /home/xero4/public_html/logprocess.php on line 17
heres my code
<?
include("config.php");
mysql_connect("$host","$user","$pass");
mysql_select_db("$db");
$pass = md5("$password");
$result=mysql_query("SELECT username FROM clients WHERE username='$username' AND password='$pass'");
$process = mysql_num_rows($result);
if($process != 0)
{
session_start();
session_register("username");
header("location: index2.php")
}
else
{
header("LOCATION: login.php");
}
?>