category is sent as post data so access it using the post super global $_POST
<?php
if(isset($_FILES['file'])){
print_r($_FILES['file']);
print_r($_POST['catagory']);
}
?>
EDIT: the files super global is also sent via post but is only for items that are uploaded to the PHP script