I can come in through the
http://www.anandtech.com/ page but if I use the
http://forums.anandtech.com/categories.aspx?catid=52&flcache=2386776&entercat=y page I get the following error:
<?php
require("config.redirect.php");
if (!array_key_exists('catid',$_REQUEST)) {
@header("Location:index.php");
exit();
}
$id = $_REQUEST['catid'];
if (is_numeric($id) && $id > 0) {
$db = mysql_connect($dbserver,$dbuser,$dbpw);
if ($db) {
if (mysql_select_db($dbname)) {
$result = mysql_fetch_array(mysql_query("SELECT forumid FROM vb_forum WHERE importforumid = '$id'"));
if ($result) {
@header("Location:forumdisplay.php?f=" . $result["forumid"]);
exit();
}
}
}
}
@header("Location:index.php");
?>