From f695737e1440eda187fb2ee2e6a8e3dba2cff665 Mon Sep 17 00:00:00 2001 From: aryapradipta9 <aryapradipta9@gmail.com> Date: Sun, 22 Apr 2018 17:43:07 +0700 Subject: [PATCH] change uploader limit --- addMateri.php | 2 +- admin/materi.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addMateri.php b/addMateri.php index 3e4e107..53e88d4 100755 --- a/addMateri.php +++ b/addMateri.php @@ -30,7 +30,7 @@ if ($_POST["isVideo"] == 1) { $uploadOk = 0; } // Check file size - if ($_FILES["videofile"]["size"] > 20000000) { + if ($_FILES["videofile"]["size"] > 100000000) { echo "Sorry, your file is too large."; exit(); $uploadOk = 0; diff --git a/admin/materi.html b/admin/materi.html index 4fc7190..658b8d8 100755 --- a/admin/materi.html +++ b/admin/materi.html @@ -41,9 +41,9 @@ <button type="submit" class="btn btn-default">Kirim</button> </form> -<div id="textbar"> +<div id="progbar"> <h6>Uploading ...</h6> -<div id="progbar" class="progress d-none"> +<div class="progress d-none"> <div class="bar progress-bar progress-bar-striped active"></div> </div> </div> -- GitLab