Skip to content
Snippets Groups Projects
Commit f695737e authored by Arya Pradipta's avatar Arya Pradipta
Browse files

change uploader limit

parent 3f133ce2
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -30,7 +30,7 @@ if ($_POST["isVideo"] == 1) { ...@@ -30,7 +30,7 @@ if ($_POST["isVideo"] == 1) {
$uploadOk = 0; $uploadOk = 0;
} }
// Check file size // Check file size
if ($_FILES["videofile"]["size"] > 20000000) { if ($_FILES["videofile"]["size"] > 100000000) {
echo "Sorry, your file is too large."; echo "Sorry, your file is too large.";
exit(); exit();
$uploadOk = 0; $uploadOk = 0;
......
...@@ -41,9 +41,9 @@ ...@@ -41,9 +41,9 @@
<button type="submit" class="btn btn-default">Kirim</button> <button type="submit" class="btn btn-default">Kirim</button>
</form> </form>
<div id="textbar"> <div id="progbar">
<h6>Uploading ...</h6> <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 class="bar progress-bar progress-bar-striped active"></div>
</div> </div>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment