I am trying to upload a file onto a server. Whenever I submit, the php global array $_FILES is empty. My file keeps going into $_POST.
<form action="process.php" method="POST">
<div class="form-group"></div>
<div class="form-group">
<input type="file" name="uploaded_file">
</div>
<div class="form-group">
<button type="submit" class="btn btn-danger">Upload</button>
</div>
</form>
process.php
<?php
var_dump($_FILES['uploaded_file']);
var_dump($_POST['uploaded_file']);