ob_start();
session_start();
include 'connect.php';
?>
Activation
$enc = $_GET['enc'];
$uid = $_GET['uid'];
$_SESSION['id'] = $uid;
$_SESSION['approved'] = 'yes';
$sql = mysql_query("update myusers set active = '1' where password = '$enc' and id = '$uid' ");
if (!$sql) {echo "There was a problem...please contact the management!";
}
else {
header ("location: register.php");
}
?>