From e196b0a7cbbec60f2ce2ce361adc7eea8fdd9aed Mon Sep 17 00:00:00 2001 From: ziejd2 Date: Wed, 24 Feb 2021 23:55:43 -0600 Subject: Update test_set_predictions.php --- sourcecodes/test_set_predictions.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sourcecodes/test_set_predictions.php b/sourcecodes/test_set_predictions.php index 66400a66..076188b4 100644 --- a/sourcecodes/test_set_predictions.php +++ b/sourcecodes/test_set_predictions.php @@ -15,27 +15,27 @@ if($_POST["My_key"]!="") $keyval=valid_keyval($_POST["My_key"]); $searchID=""; $UploadValue="NO"; -$TextFile=$HTTP_POST_FILES["MyFile"]["name"]; +$TextFile=$_FILES["MyFile"]["name"]; //$TextinFile="./data/".$keyval."ts_upload.txt"; $TextinFile="/tmp/bnw/".$keyval."ts_upload.txt"; ?> window.alert ('Sorry, error uploading $TextFile.')\ -- cgit 1.4.1