Warning: Cannot modify header information - headers already sent by (output started at /data/hosted/Unify/thegold.php:10) in /data/hosted/Unify/user/manager.php on line 26
<HTML> <link rel='stylesheet' href='style.css' type='text/css'>
<HEAD>
<BODY bgcolor="#000000">
<title>PureGold is back</title>
</head>
<TD BORDERCOLOR="#FCF000" align="" WIDTH="100%" VALIGN="TOP" HEIGHT=0>
<table BORDERCOLOR="#FCF000" width="" BORDERCOLOR="#FCF000" cellspacing="0" cellpadding="0" align="center">
<tr>
<td BORDERCOLOR="#FCF000" align="top" width="215" height="">
<table BORDERCOLOR="#000000" height="239" border="1" cellspacing="0" cellpadding="0">
<tr>
<td BORDERCOLOR="#000000" align="top" height="239">
<table align="center" width="100" height="100%" cellspacing="0" cellpadding="0">
this is the.......... thegold.php file
and here is the manager.php code
<?php
if(isset($HTTP_COOKIE_VARS[user]) && ($HTTP_COOKIE_VARS[pass]))
{
session_start();
header("Cache-control: private");
require("config.php");
extract($HTTP_GET_VARS);
extract($HTTP_POST_VARS);
$username = $HTTP_COOKIE_VARS[user];
$password = $HTTP_COOKIE_VARS[pass];
$u_path = "$userdb/profile-{$username}.dat";
$uf = @fopen($u_path, "r") or die ("Error! Please Login");
$size = filesize($u_path) + 1;
$u_data = fgets($uf, $size);
$u_data = explode("}{", $u_data);
fclose($uf);
list ($email, $fullname, $username, $real_password, $created, $real_ip) = $u_data;
if ($password != $real_password)
{
include("_inc/login_invalidpwd.htm"); exit();
}
include("_inc/home.htm"); exit();
}
else
{
header("Location: index"); exit();
} ?>
i been trying but i cant just seem to figure out whats wrong help is appreciated thanks!