<?php $element = $_POST["element"]; $degree = $_POST["degree"]; $examno = $_POST["examno"]; $subject = $_POST["subject"]; $file = $_FILES['file']['tmp_name']; var_dump($subject, $file); die(); ?>