если у вас есть <input type='file' name='myFile' />
в вашей форме, при отправке все, что вам нужно, это получить это именованное поле в вашем php-файле как
if( isset($_POST['myFile']) ){
// means there is file submitted
// do process it here (store, edit, delete, whatever)
}