From 1427e9bf4f85823164b4573a3bcf1ba3ba6b04d0 Mon Sep 17 00:00:00 2001 From: ziejd2 Date: Wed, 24 Feb 2021 15:19:03 -0600 Subject: Moving final GENENET8 version to master --- sourcecodes/upload_structure_file.php | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) (limited to 'sourcecodes/upload_structure_file.php') diff --git a/sourcecodes/upload_structure_file.php b/sourcecodes/upload_structure_file.php index 35758533..f0c9fc7d 100644 --- a/sourcecodes/upload_structure_file.php +++ b/sourcecodes/upload_structure_file.php @@ -13,7 +13,7 @@ include("input_validate.php"); $searchID=""; $UploadValue="NO"; -$TextFile=$_FILES["MyFile"]["name"]; +$TextFile=$HTTP_POST_FILES["MyFile"]["name"]; /////////////Generate a random key///////////////////// @@ -35,18 +35,17 @@ $keyval=valid_keyval($keyval); $sid=$keyval."continuous_input"; //$dir="./data/"; -//$dir="/tmp/bnw/"; -$dir="/var/lib/genenet/bnw/"; +$dir="/tmp/bnw/"; + +$input_table_file="./data/".$keyval."input_table.txt"; -//$input_table_file="./data/".$keyval."input_table.txt"; -$input_table_file=$dir.$keyval."input_table.txt"; $TextinFile=$dir.$sid."_orig.txt"; -if(isset($_POST["searchkey"])) +if(isset($HTTP_POST_VARS["searchkey"])) { - $searchID=$_POST["searchkey"]; + $searchID=$HTTP_POST_VARS["searchkey"]; } @@ -63,9 +62,9 @@ if($searchID=="")

The variables in the data file have the following properties:

-