added upload via base64 and via url

This commit is contained in:
Chris
2018-12-25 23:41:22 +01:00
parent c649233835
commit b6609b1df2
5 changed files with 250 additions and 2 deletions

View File

@@ -59,6 +59,7 @@ if ($_FILES['file']["error"] == UPLOAD_ERR_OK)
if($answer['hash'] && $answer['status']=='ok')
{
$answer['filetype'] = $type;
//add this sha1 to the list
addSha1($answer['hash'],$sha1);