about summary refs log tree commit diff
path: root/sourcecodes/remove_variables.php
diff options
context:
space:
mode:
authorziejd22021-02-24 15:19:03 -0600
committerziejd22021-02-24 15:19:03 -0600
commit1427e9bf4f85823164b4573a3bcf1ba3ba6b04d0 (patch)
treed4356879a9b0a3d44063a6b292ef0197173697af /sourcecodes/remove_variables.php
parenta2b306b10fb07f07c63235861ccfe460153e8609 (diff)
downloadBNW-1427e9bf4f85823164b4573a3bcf1ba3ba6b04d0.tar.gz
Moving final GENENET8 version to master
Diffstat (limited to 'sourcecodes/remove_variables.php')
-rw-r--r--sourcecodes/remove_variables.php13
1 files changed, 6 insertions, 7 deletions
diff --git a/sourcecodes/remove_variables.php b/sourcecodes/remove_variables.php
index 1373bcae..5069904f 100644
--- a/sourcecodes/remove_variables.php
+++ b/sourcecodes/remove_variables.php
@@ -8,8 +8,7 @@ include("input_validate.php");
 $keyval=$_GET["My_key"];
 
 //$dir="./data/";
-//$dir="/tmp/bnw/";
-$dir="/var/lib/genenet/bnw/";
+$dir="/tmp/bnw/";
 
 $type_n=array();
 
@@ -101,14 +100,14 @@ $runtime=exe_time($keyval,$parent_number,$k_number);
 <?php
 
 
-if(isset($_POST["bantext"]))
+if(isset($HTTP_POST_VARS["bantext"]))
 {
-   $ban_search=$_POST["searchkey"];
+   $ban_search=$HTTP_POST_VARS["searchkey"];
 }
 
-if(isset($_POST["whitetext"]))
+if(isset($HTTP_POST_VARS["whitetext"]))
 {
-   $white_search=$_POST["searchkey"];
+   $white_search=$HTTP_POST_VARS["searchkey"];
 }
 
 ?>
@@ -834,7 +833,7 @@ function getcombineDescription(ntiers,ban_from,ban_to,white_from,white_to,keyv)
   ntiers = 1;
   var tier=getNodesInTiers(ntiers);
   //  var txtFile="./data/"+keyv+"del_var.txt";
-  var txtFile="/var/lib/genene/bnw/"+keyv+"del_var.txt";
+  var txtFile="/tmp/bnw/"+keyv+"del_var.txt";
   //var file = new File(txtFile);
   //file.open("w");
   //file.write(tier);