İşinin görür galiba

<html>
<body>

<?php 

if($_POST['submit']){
echo  'DOLU ';
}else{
echo 'BOŞ';
}

?>

<form action="" method="post" enctype="multipart/form-data">

<input type="file" name="file" id="file" />
<input type="submit" name="submit" value="Gönder" />
</form>

</body>
</html>