'); global $monthArray,$monthNums, $orderMonths,$orderCode,$finalorderMonths,$finalorderCode, $transcript; $monthArray= array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"); $monthNums=array("01","02","03","04","05","06","07","08","09","10","11","12"); $orderMonths=array(); $orderCode=array(); $finalorderMonths=array(); $finalorderCode=array(); } ?>
Latest | Archive | Search Discussion


1){ getText("http://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=$A2&L=$L&T=$T&F=$F&S=$S&P=$P"); }else{ global $useText; $itemID=$_GET[archID]; //echo("using archive"); selectDatabase('jiscDiscussionDatabase'); $SQL="SELECT * FROM jiscDiscussionTable WHERE id=$itemID"; //echo($SQL); $result=mysql_query($SQL); $thisRow=mysql_fetch_row($result); $useText=URLDecode($thisRow[5]); echo($useText); $transcript=$useText; } //echo($useText); //getText("http://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind04&L=new-media-curating&P=R18324&I=-1");//root level (months/years) //first just get the month urls //getText("http://www.jiscmail.ac.uk/cgi-bin/webadmin?A1=ind0412&L=new-media-curating"); //next level - read month //getText("http://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind0105&L=new-media-curating&P=R1416&I=-1"); //last level - get a message //getText("http://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind0105&L=new-media-curating&P=R1416&I=-1"); //last level - get a message //$spacer=urlencode("a"); //from here $stpos=strpos ($useText,''); //echo("stpos=$stpos
"); $stage1=substr($useText, $stpos); //echo($stage1); $stpos2=strpos ($stage1,''); $stage2=substr($stage1, 0,$stpos2); $stage3=str_replace("
".chr(13) ,"

", $stage2); $stage4=str_replace("" ,"", $stage3); $stage5=str_replace("" ,"", $stage4); global $stage6, $storeDat; $stage6=str_replace(chr(13),"
", $stage5); $storeDat=urlEncode($stage6); // now substitute
  • for double line breaks //$stage6=str_replace('
    $rootIndex
    $detailIndex"); selectDatabase('jiscDiscussionDatabase'); //mysql_query("DROP TABLE jiscDiscussionTable"); $SQL="CREATE TABLE jiscDiscussionTable (id INT AUTO_INCREMENT PRIMARY KEY, rootIndex TEXT, detailIndex TEXT, ord TEXT, dStamp TEXT, content TEXT, visible TEXT)"; if (mysql_query($SQL)){ //echo "success in table creation."; } else { //echo "no table created this time around - process failed because item already exists."; } $SQL="SELECT COUNT(*) FROM jiscDiscussionTable WHERE detailIndex='$detailIndex'"; $result=mysql_query($SQL); $thisRow=mysql_fetch_row($result); if ($thisRow[0]<1){ $SQL="INSERT INTO jiscDiscussionTable (rootIndex, detailIndex, ord, dStamp, content, visible) VALUES ('$rootIndex','$detailIndex','$ordinal','$dStamp','$storeDat','1')"; //$SQL="INSERT INTO jiscDiscussionTable (rootIndex, detailIndex, ord, dStamp, content, visible) VALUES ('1','1','1','1','1','1')"; //echo($SQL); $RESULT=mysql_query($SQL); //echo("result = $RESULT"); } $stage7=str_replace("
    [log in to unmask]>","",$stage7); $stage7=str_Replace("<[log in to unmask]>","",$stage7); $stage7=str_Replace("<"); global $scanText; $scanText=$stage7; $alltext=$scanText; ?>
  • "); $handle = fopen($thisSite, "rb"); $contents = ""; do { $data = fread($handle, 8192); if (strlen($data) == 0) { break; } $contents .= $data; } while (true); fclose($handle); $useText=$contents; $transcript=" $transcript $contents "; $useText=str_Replace(">[log in to unmask]>","",$useText); $useText=str_Replace("<[log in to unmask]>","",$transcript); $transcript=str_Replace("<