diff -r e7e70577ce6c -r bfe0d3de2764 details.php --- a/details.php Fri Jun 19 16:55:15 2009 +0100 +++ b/details.php Tue Jun 23 13:35:45 2009 +0100 @@ -28,7 +28,7 @@ } // read session IDs from cookie, if cookie doesn't exist, set to 1 (master) -echo $_COOKIE["sid1"]; +//echo $_COOKIE["sid1"]; $currSID1 = $_COOKIE['sid1']; if ($currSID1 == "") { @@ -41,7 +41,7 @@ $currSID2 = "06D5VlLQTbM57LL7IBMW38yHkFpb1XVa"; } -print_r($_COOKIE); +//print_r($_COOKIE); $status = $_GET['alert']; $view_mode = $_GET['view_mode']; @@ -54,7 +54,7 @@ // search server cache for received websites // anonymous uid=1, sid1=06D5VlLQTbM57LL7IBMW38yHkFpb1XVa & sid2 =06D5VlLQTbM57LL7IBMW38yHkFpb1XVa - if (($currID != 1) && ($currSID1 != "06D5VlLQTbM57LL7IBMW38yHkFpb1XVa") && ($currSID2 != "06D5VlLQTbM57LL7IBMW38yHkFpb1XVa")) + if (($currID != 1) && ($currSID1 != "06D5VlLQTbM57LL7IBMW38yHkFpb1XVa")) { $query_cache = mysql_query("SELECT * FROM requests_tbl WHERE (uid = '$currID' OR uid = 1)"); } @@ -73,7 +73,7 @@ // exec($commandline, $wget_results); //$commandline = "squidclient -m HEAD -p 8080 -H \"Cache-Control: only-if-cached\n\" -u " . $db_fieldcache["req_ID"] . " -w " . $db_fieldcache["uid"] . " " . $db_fieldcache["req_val"] . " |grep X-Cache: |grep MISS"; - $filename = "/var/www/private/HTMLrequester/staging/{$db_fieldcache["req_ID"]}/"; + $filename = "/var/www/private/HTMLrequester/router_stage/{$db_fieldcache["req_ID"]}/"; //$commandline = "squidclient -m HEAD -p 8080 -H \"Cache-Control: only-if-cached\n\" -u " . $db_fieldcache["req_ID"] . " -w " . $db_fieldcache["uid"] . " " . $db_fieldcache["req_val"] . " |grep X-Cache: |grep MISS"; @@ -233,7 +233,7 @@ } else { //header ('Location: http://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) . dirname($db_fieldcache["req_ID"])); //strip_tags($text, '

') - print "View website"; + print "View website"; // print "View website"; print ""; }