Fixed file uploading, other more minor fixes

This commit is contained in:
Luke Ogburn
2019-04-09 07:25:07 -04:00
parent 952948552f
commit 2fa158402e
6 changed files with 14 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
<?php
require "enc.php";
$words = "<encrypted>".$_POST["words"]."</encrypted>";
$words = file_get_contents($_FILES["encDoc"]["tmp_name"]);
$data = simplexml_load_string($words) or die("Couldn't make object");
//Get the key